public class ParsedValueCount extends ParsedAggregation implements ValueCount
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueAggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsmetadataTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
ParsedValueCount() |
| Modifier and Type | Method and Description |
|---|---|
protected XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
static ParsedValueCount |
fromXContent(XContentParser parser,
java.lang.String name) |
java.lang.String |
getType() |
long |
getValue() |
java.lang.String |
getValueAsString() |
double |
value() |
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetaData, getNameisFragmenttoXContentpublic double value()
value in interface NumericMetricsAggregation.SingleValuepublic long getValue()
getValue in interface ValueCountpublic java.lang.String getValueAsString()
getValueAsString in interface NumericMetricsAggregation.SingleValuepublic 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 ParsedValueCount fromXContent(XContentParser parser, java.lang.String name)