public abstract static class InternalNumericMetricsAggregation.SingleValue extends InternalNumericMetricsAggregation implements NumericMetricsAggregation.SingleValue
InternalNumericMetricsAggregation.MultiValue, InternalNumericMetricsAggregation.SingleValue
InternalAggregation.ReduceContext
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValue
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
format
metaData, name
TYPED_KEYS_DELIMITER
EMPTY_PARAMS
Modifier | Constructor and Description |
---|---|
protected |
SingleValue(StreamInput in)
Read from a stream.
|
protected |
SingleValue(java.lang.String name,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.util.List<java.lang.String> path) |
java.lang.String |
getValueAsString() |
doReduce, doWriteTo, doXContentBody, getMetaData, getName, getProperty, getType, pipelineAggregators, readSize, reduce, toXContent, writeSize, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
value
getMetaData, getName, getType
isFragment, toXContent
getWriteableName
protected SingleValue(java.lang.String name, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
protected SingleValue(StreamInput in) throws java.io.IOException
java.io.IOException
public java.lang.String getValueAsString()
getValueAsString
in interface NumericMetricsAggregation.SingleValue
public java.lang.Object getProperty(java.util.List<java.lang.String> path)
getProperty
in class InternalAggregation