Package org.opennms.netmgt.flows.elastic
Class ProportionalSumAggregation
- java.lang.Object
-
- io.searchbox.core.search.aggregation.Aggregation
-
- org.opennms.netmgt.flows.elastic.ProportionalSumAggregation
-
public class ProportionalSumAggregation extends io.searchbox.core.search.aggregation.Aggregation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ProportionalSumAggregation.DateHistogram
static class
ProportionalSumAggregation.Histogram
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
Constructor Summary
Constructors Constructor Description ProportionalSumAggregation(java.lang.String name, com.google.gson.JsonObject PartialSumAggregation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<ProportionalSumAggregation.DateHistogram>
getBuckets()
int
hashCode()
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBuckets
public java.util.List<ProportionalSumAggregation.DateHistogram> getBuckets()
- Returns:
- List of DateHistogram objects if found, or empty list otherwise
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classio.searchbox.core.search.aggregation.Aggregation
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.searchbox.core.search.aggregation.Aggregation
-
-