Class CompositeAggregation
- java.lang.Object
-
- io.searchbox.core.search.aggregation.Aggregation
-
- org.opennms.features.alarms.history.elastic.CompositeAggregation
-
public class CompositeAggregation extends io.searchbox.core.search.aggregation.Aggregation
Used to parse the result of 'composite' aggregation queries since no support for these exists in Jest yet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CompositeAggregation.Entry
-
Constructor Summary
Constructors Constructor Description CompositeAggregation(java.lang.String name, com.google.gson.JsonObject compositeAggregation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonObject
getAfterKey()
java.util.List<CompositeAggregation.Entry>
getBuckets()
boolean
hasAfterKey()
-
-
-
Method Detail
-
hasAfterKey
public boolean hasAfterKey()
-
getAfterKey
public com.google.gson.JsonObject getAfterKey()
-
getBuckets
public java.util.List<CompositeAggregation.Entry> getBuckets()
-
-