Class InternalNumericMetricsAggregation.SingleValue
- java.lang.Object
-
- org.elasticsearch.search.aggregations.InternalAggregation
-
- org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
-
- org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation.SingleValue
-
- All Implemented Interfaces:
NamedWriteable
,Writeable
,ToXContent
,ToXContentFragment
,Aggregation
,NumericMetricsAggregation
,NumericMetricsAggregation.SingleValue
- Direct Known Subclasses:
InternalAvg
,InternalBucketMetricValue
,InternalCardinality
,InternalMax
,InternalMedianAbsoluteDeviation
,InternalMin
,InternalSimpleValue
,InternalSum
,InternalValueCount
,InternalWeightedAvg
- Enclosing class:
- InternalNumericMetricsAggregation
public abstract static class InternalNumericMetricsAggregation.SingleValue extends InternalNumericMetricsAggregation implements NumericMetricsAggregation.SingleValue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
InternalNumericMetricsAggregation.MultiValue, InternalNumericMetricsAggregation.SingleValue
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.InternalAggregation
InternalAggregation.ReduceContext
-
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
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
format
-
Fields inherited from class org.elasticsearch.search.aggregations.InternalAggregation
metaData, name
-
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
Constructors Modifier Constructor Description 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)
Read from a stream.
-
Method Summary
Modifier and Type Method Description java.lang.Object
getProperty(java.util.List<java.lang.String> path)
java.lang.String
getValueAsString()
-
Methods inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
equals, hashCode
-
Methods inherited from class org.elasticsearch.search.aggregations.InternalAggregation
doEquals, doHashCode, doReduce, doWriteTo, doXContentBody, getMetaData, getName, getProperty, getType, isMapped, pipelineAggregators, readSize, reduce, toString, toXContent, writeSize, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetaData, getName, getType
-
Methods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableName
-
Methods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.SingleValue
value
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Constructor Detail
-
SingleValue
protected SingleValue(java.lang.String name, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
-
SingleValue
protected SingleValue(StreamInput in) throws java.io.IOException
Read from a stream.- Throws:
java.io.IOException
-
-
Method Detail
-
getValueAsString
public java.lang.String getValueAsString()
- Specified by:
getValueAsString
in interfaceNumericMetricsAggregation.SingleValue
-
getProperty
public java.lang.Object getProperty(java.util.List<java.lang.String> path)
- Specified by:
getProperty
in classInternalAggregation
-
-