Class ParsedSingleValueNumericMetricsAggregation
org.elasticsearch.search.aggregations.ParsedAggregation
org.elasticsearch.search.aggregations.metrics.ParsedSingleValueNumericMetricsAggregation
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
,Aggregation
,NumericMetricsAggregation
,NumericMetricsAggregation.SingleValue
- Direct Known Subclasses:
ParsedAvg
,ParsedBucketMetricValue
,ParsedMax
,ParsedMedianAbsoluteDeviation
,ParsedMin
,ParsedSimpleValue
,ParsedSum
,ParsedWeightedAvg
public abstract class ParsedSingleValueNumericMetricsAggregation
extends ParsedAggregation
implements NumericMetricsAggregation.SingleValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValue
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.ParsedAggregation
metadata
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Methods inherited from class org.elasticsearch.search.aggregations.ParsedAggregation
declareAggregationFields, doXContentBody, getMetadata, getName, parseDouble, setName, toXContent
Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getType
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
value
protected double value -
valueAsString
protected valueAsString
-
-
Constructor Details
-
ParsedSingleValueNumericMetricsAggregation
public ParsedSingleValueNumericMetricsAggregation()
-
-
Method Details
-
getValueAsString
public getValueAsString()- Specified by:
getValueAsString
in interfaceNumericMetricsAggregation.SingleValue
-
value
public double value()- Specified by:
value
in interfaceNumericMetricsAggregation.SingleValue
-
setValue
protected void setValue(double value) -
setValueAsString
protected void setValueAsString( valueAsString) -
declareSingleValueFields
protected static void declareSingleValueFields(org.elasticsearch.common.xcontent.ObjectParser<? extends > objectParser, double defaultNullValue)
-