Class InternalNumericMetricsAggregation.MultiValue
org.elasticsearch.search.aggregations.InternalAggregation
org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation.MultiValue
- All Implemented Interfaces:
NamedWriteable
,Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
,Aggregation
,NumericMetricsAggregation
,NumericMetricsAggregation.MultiValue
- Direct Known Subclasses:
InternalHDRPercentileRanks
,InternalHDRPercentiles
,InternalPercentilesBucket
,InternalStats
,InternalTDigestPercentileRanks
,InternalTDigestPercentiles
- Enclosing class:
- InternalNumericMetricsAggregation
public abstract static class InternalNumericMetricsAggregation.MultiValue
extends InternalNumericMetricsAggregation
implements NumericMetricsAggregation.MultiValue
-
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, InternalAggregation.ReduceContextBuilder
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
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.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
ModifierConstructorDescriptionprotected
name, <,> metadata)
protected
MultiValue(StreamInput in)
Read from a stream. -
Method Summary
Modifier and TypeMethodDescription<> path)
double
key)
Get value to use when sorting by this aggregation.abstract double
name)
Return the result of 1 value by namename)
Methods inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
equals, hashCode, mustReduceOnSingleInternalAgg, sortValue
Methods inherited from class org.elasticsearch.search.aggregations.InternalAggregation
copyWithRewritenBuckets, doWriteTo, doXContentBody, forEachBucket, getMetadata, getName, getProperty, getType, isMapped, mergePipelineTreeForBWCSerialization, pipelineAggregatorsForBwcSerialization, readSize, reduce, reducePipelines, toString, toXContent, writeSize, writeTo
Methods inherited from class java.lang.
, , , , , , ,
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.MultiValue
valueNames
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
MultiValue
protected MultiValue( name, <,> metadata) -
MultiValue
Read from a stream.- Throws:
-
-
Method Details
-
value
public abstract double value( name)Description copied from interface:NumericMetricsAggregation.MultiValue
Return the result of 1 value by name- Specified by:
value
in interfaceNumericMetricsAggregation.MultiValue
- Parameters:
name
- of the value- Returns:
- the value
-
valueAsString
public valueAsString( name) -
getProperty
public getProperty(<> path)- Specified by:
getProperty
in classInternalAggregation
-
sortValue
public final double sortValue( key)Description copied from class:InternalAggregation
Get value to use when sorting by this aggregation.- Overrides:
sortValue
in classInternalAggregation
-