Class InternalNumericMetricsAggregation
java.lang.Object
org.elasticsearch.search.aggregations.InternalAggregation
org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
- All Implemented Interfaces:
NamedWriteable
,Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
,Aggregation
- Direct Known Subclasses:
InternalNumericMetricsAggregation.MultiValue
,InternalNumericMetricsAggregation.SingleValue
public abstract class InternalNumericMetricsAggregation extends InternalAggregation
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalNumericMetricsAggregation.MultiValue
static class
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.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 Modifier and Type Field Description protected DocValueFormat
format
Fields inherited from class org.elasticsearch.search.aggregations.InternalAggregation
metadata, name
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
-
Constructor Summary
Constructors Modifier Constructor Description protected
InternalNumericMetricsAggregation(StreamInput in)
Read from a stream. -
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
double
sortValue(AggregationPath.PathElement head, java.util.Iterator<AggregationPath.PathElement> tail)
Get value to use when sorting by a descendant of this aggregation.Methods inherited from class org.elasticsearch.search.aggregations.InternalAggregation
copyWithRewritenBuckets, doWriteTo, doXContentBody, forEachBucket, getMetadata, getName, getProperty, getProperty, getType, isMapped, mergePipelineTreeForBWCSerialization, pipelineAggregatorsForBwcSerialization, readSize, reduce, reducePipelines, sortValue, toString, toXContent, writeSize, writeTo
-
Field Details
-
Constructor Details
-
InternalNumericMetricsAggregation
Read from a stream.- Throws:
java.io.IOException
-
-
Method Details
-
sortValue
public final double sortValue(AggregationPath.PathElement head, java.util.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
-
hashCode
public int hashCode()- Overrides:
hashCode
in classInternalAggregation
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classInternalAggregation
-