ToXContent, ToXContentFragment, Aggregation, NumericMetricsAggregation, NumericMetricsAggregation.SingleValue, BucketMetricValuepublic class ParsedBucketMetricValue extends ParsedSingleValueNumericMetricsAggregation implements BucketMetricValue
Aggregation.CommonFieldsNumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsTYPED_KEYS_DELIMITERmetadatavalue, valueAsStringEMPTY_PARAMS| Constructor | Description |
|---|---|
ParsedBucketMetricValue() |
| Modifier and Type | Method | Description |
|---|---|---|
protected XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
|
static ParsedBucketMetricValue |
fromXContent(XContentParser parser,
java.lang.String name) |
|
java.lang.String |
getType() |
|
java.lang.String[] |
keys() |
getMetaData, getNamegetValueAsString, valueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeclareAggregationFields, getMetaData, getName, parseDouble, setName, toXContentdeclareSingleValueFields, getValueAsString, setValue, setValueAsString, valuetoXContentisFragmentpublic java.lang.String[] keys()
keys in interface BucketMetricValuepublic java.lang.String getType()
getType in interface Aggregationprotected XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody in class ParsedAggregationjava.io.IOExceptionpublic static ParsedBucketMetricValue fromXContent(XContentParser parser, java.lang.String name)