Module org.elasticsearch.server
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,Aggregation,NumericMetricsAggregation,NumericMetricsAggregation.MultiValue,ToXContent,ToXContentFragment
- 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 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.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, 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_DELIMITERFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMultiValue(String name, DocValueFormat format, Map<String, Object> metadata) protectedRead from a stream.protectedMultiValue(StreamInput in, boolean readFormat) Read from a stream. -
Method Summary
Methods inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
equals, hashCode, mustReduceOnSingleInternalAgg, sortValueMethods inherited from class org.elasticsearch.search.aggregations.InternalAggregation
copyWithRewritenBuckets, doWriteTo, doXContentBody, finalizeSampling, forEachBucket, getMetadata, getName, getProperty, getType, isMapped, 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, getTypeMethods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableNameMethods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.MultiValue
valueNamesMethods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
MultiValue
-
MultiValue
Read from a stream.- Throws:
IOException
-
MultiValue
Read from a stream.- Parameters:
readFormat- whether to read the "format" field- Throws:
IOException
-
-
Method Details
-
value
Description copied from interface:NumericMetricsAggregation.MultiValueReturn the result of 1 value by name- Specified by:
valuein interfaceNumericMetricsAggregation.MultiValue- Parameters:
name- of the value- Returns:
- the value
-
valueAsString
-
getProperty
- Specified by:
getPropertyin classInternalAggregation
-
sortValue
Description copied from class:InternalAggregationGet value to use when sorting by this aggregation.- Overrides:
sortValuein classInternalAggregation
-