Class InternalNumericMetricsAggregation.MultiValue
java.lang.Object
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.SingleValueNested classes/interfaces inherited from class org.elasticsearch.search.aggregations.InternalAggregation
InternalAggregation.ReduceContext, InternalAggregation.ReduceContextBuilderNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueNested 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.ParamsNested 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
formatFields inherited from class org.elasticsearch.search.aggregations.InternalAggregation
metadata, nameFields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER -
Constructor Summary
Constructors Modifier Constructor Description protectedMultiValue(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> metadata)protectedMultiValue(StreamInput in)Read from a stream. -
Method Summary
Modifier and Type Method Description java.lang.ObjectgetProperty(java.util.List<java.lang.String> path)doublesortValue(java.lang.String key)Get value to use when sorting by this aggregation.abstract doublevalue(java.lang.String name)java.lang.StringvalueAsString(java.lang.String name)Methods inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
equals, hashCode, sortValueMethods 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, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getType
-
Constructor Details
-
MultiValue
protected MultiValue(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> metadata) -
MultiValue
Read from a stream.- Throws:
java.io.IOException
-
-
Method Details
-
value
public abstract double value(java.lang.String name) -
valueAsString
public java.lang.String valueAsString(java.lang.String name) -
getProperty
public java.lang.Object getProperty(java.util.List<java.lang.String> path)- Specified by:
getPropertyin classInternalAggregation
-
sortValue
public final double sortValue(java.lang.String key)Description copied from class:InternalAggregationGet value to use when sorting by this aggregation.- Overrides:
sortValuein classInternalAggregation
-