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
-
Constructor Summary
Constructors Constructor Description ProportionalSumAggregation(String name, com.google.gson.JsonObject PartialSumAggregation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<ProportionalSumAggregation.DateHistogram>
getBuckets()
int
hashCode()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProportionalSumAggregation
public ProportionalSumAggregation(String name, com.google.gson.JsonObject PartialSumAggregation)
-
-
Method Detail
-
getBuckets
public List<ProportionalSumAggregation.DateHistogram> getBuckets()
- Returns:
- List of DateHistogram objects if found, or empty list otherwise
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classio.searchbox.core.search.aggregation.Aggregation
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.searchbox.core.search.aggregation.Aggregation
-
-