public class InternalStatsBucket extends InternalStats implements StatsBucket
InternalNumericMetricsAggregation.MultiValue, InternalNumericMetricsAggregation.SingleValueInternalAggregation.ReduceContextNumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueAggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>count, max, min, sumformatmetaData, nameTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
InternalStatsBucket(StreamInput in)
Read from a stream.
|
InternalStatsBucket(java.lang.String name,
long count,
double sum,
double min,
double max,
DocValueFormat formatter,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
InternalStats |
doReduce(java.util.List<InternalAggregation> aggregations,
InternalAggregation.ReduceContext reduceContext) |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
doWriteTo, doXContentBody, getAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsString, otherStatsToXContent, value, writeOtherStatsTogetProperty, valueAsStringgetMetaData, getName, getProperty, getType, pipelineAggregators, readSize, reduce, toXContent, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsStringgetMetaData, getName, getTypeisFragment, toXContentpublic InternalStatsBucket(java.lang.String name,
long count,
double sum,
double min,
double max,
DocValueFormat formatter,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData)
public InternalStatsBucket(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteablegetWriteableName in class InternalStatspublic InternalStats doReduce(java.util.List<InternalAggregation> aggregations, InternalAggregation.ReduceContext reduceContext)
doReduce in class InternalStats