public class ParsedMax extends ParsedSingleValueNumericMetricsAggregation implements Max
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueAggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Paramsvalue, valueAsStringmetadataTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
ParsedMax() |
| Modifier and Type | Method and Description |
|---|---|
protected XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
static ParsedMax |
fromXContent(XContentParser parser,
java.lang.String name) |
java.lang.String |
getType() |
double |
getValue()
The maximum.
|
declareSingleValueFields, getValueAsString, setValue, setValueAsString, valuedeclareAggregationFields, getMetaData, getName, parseDouble, setName, toXContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueAsString, valuegetMetaData, getNameisFragmenttoXContentpublic double getValue()
Maxpublic 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 ParsedMax fromXContent(XContentParser parser, java.lang.String name)