Class AggregationResult
java.lang.Object
de.elo.ix.client.esearch.aggregations.AggregationResult
- All Implemented Interfaces:
Serializable
Return object for AggregationQueries.
Consists of name and type and a type specific part. This type specific part contains actual results according to its AggregationType.
Hence, in each instance of AggregationResult is only one type specific part valid. All other parts are not valid and equal to null.
Consists of name and type and a type specific part. This type specific part contains actual results according to its AggregationType.
Hence, in each instance of AggregationResult is only one type specific part valid. All other parts are not valid and equal to null.
- Since:
- 21.03.000.001
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateHistogramAggregationResult
Type specific part: Result of an aggregation of type DATE_HISTOGRAM.protected FilterAggregationResult
Type specific part: Result of an aggregation of type FILTER.protected HistogramAggregationResult
Type specific part: Result of an aggregation of type HISTOGRAM.protected String
Name of the aggregation.protected RangeAggregationResult
Type specific part: Result of an aggregation of type RANGE.protected SingleValueMetricsAggregationResult
Type specific part: Result of an aggregation of a single-value-metrics type (MIN, MAX, SUM, AVG).protected TermsAggregationResult
Type specific part: Result of an aggregation of type TERMS.protected AggregationTypeE
Type of aggregation.protected ValueCountAggregationResult
Type specific part: Result of an aggregation of type VALUE_COUNT. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
getType()
void
setDateHistogramResult
(DateHistogramAggregationResult dateHistogramResult) void
setFilterResult
(FilterAggregationResult filterResult) void
setHistogramResult
(HistogramAggregationResult histogramResult) void
void
setRangeResult
(RangeAggregationResult rangeResult) void
setSingleValueMetricsResult
(SingleValueMetricsAggregationResult singleValueMetricsResult) void
setTermsResult
(TermsAggregationResult termsResult) void
setType
(AggregationTypeE type) void
setValueCountResult
(ValueCountAggregationResult valueCountResult) toString()
-
Field Details
-
type
Type of aggregation. -
name
Name of the aggregation. -
termsResult
Type specific part: Result of an aggregation of type TERMS. -
singleValueMetricsResult
Type specific part: Result of an aggregation of a single-value-metrics type (MIN, MAX, SUM, AVG). -
valueCountResult
Type specific part: Result of an aggregation of type VALUE_COUNT. -
filterResult
Type specific part: Result of an aggregation of type FILTER. -
rangeResult
Type specific part: Result of an aggregation of type RANGE. -
dateHistogramResult
Type specific part: Result of an aggregation of type DATE_HISTOGRAM.- Since:
- 21.03.000.004
-
histogramResult
Type specific part: Result of an aggregation of type HISTOGRAM.- Since:
- 21.03.000.006
-
-
Constructor Details
-
AggregationResult
public AggregationResult() -
AggregationResult
-
-
Method Details
-
getType
-
setType
-
getName
-
setName
-
getTermsResult
-
setTermsResult
-
getSingleValueMetricsResult
-
setSingleValueMetricsResult
public void setSingleValueMetricsResult(SingleValueMetricsAggregationResult singleValueMetricsResult) -
getValueCountResult
-
setValueCountResult
-
getFilterResult
-
setFilterResult
-
getRangeResult
-
setRangeResult
-
getDateHistogramResult
-
setDateHistogramResult
-
getHistogramResult
-
setHistogramResult
-
toString
-