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(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()
List<CompositeAggregation.Entry>
getBuckets()
boolean
hasAfterKey()
-
-
-
Constructor Detail
-
CompositeAggregation
public CompositeAggregation(String name, com.google.gson.JsonObject compositeAggregation)
-
-
Method Detail
-
hasAfterKey
public boolean hasAfterKey()
-
getAfterKey
public com.google.gson.JsonObject getAfterKey()
-
getBuckets
public List<CompositeAggregation.Entry> getBuckets()
-
-