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 classProportionalSumAggregation.DateHistogramstatic classProportionalSumAggregation.Histogram
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE
-
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 booleanequals(java.lang.Object obj)java.util.List<ProportionalSumAggregation.DateHistogram>getBuckets()inthashCode()
-
-
-
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:
equalsin classio.searchbox.core.search.aggregation.Aggregation
-
hashCode
public int hashCode()
- Overrides:
hashCodein classio.searchbox.core.search.aggregation.Aggregation
-
-