Class InternalMultiValueAggregation
java.lang.Object
org.elasticsearch.search.aggregations.InternalAggregation
org.elasticsearch.search.aggregations.metrics.InternalMultiValueAggregation
- All Implemented Interfaces:
NamedWriteable
,Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
,Aggregation
,MultiValueAggregation
public abstract class InternalMultiValueAggregation
extends InternalAggregation
implements MultiValueAggregation
-
Nested Class Summary
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.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.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
InternalMultiValueAggregation(String name, Map<String,Object> metadata)
protected
Read from a stream. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Get value to use when sorting by a descendant of this aggregation.Methods inherited from class org.elasticsearch.search.aggregations.InternalAggregation
copyWithRewritenBuckets, doWriteTo, doXContentBody, equals, forEachBucket, getMetadata, getName, getProperty, getProperty, getType, hashCode, isMapped, mergePipelineTreeForBWCSerialization, mustReduceOnSingleInternalAgg, pipelineAggregatorsForBwcSerialization, readSize, reduce, reducePipelines, sortValue, 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.search.aggregations.metrics.MultiValueAggregation
getValuesAsStrings, valueNames
Methods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableName
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
InternalMultiValueAggregation
-
InternalMultiValueAggregation
Read from a stream.- Throws:
IOException
-
-
Method Details
-
sortValue
public final double sortValue(AggregationPath.PathElement head, Iterator<AggregationPath.PathElement> tail)Description copied from class:InternalAggregation
Get value to use when sorting by a descendant of this aggregation.- Overrides:
sortValue
in classInternalAggregation
-