public class InternalExtendedStats extends InternalStats implements ExtendedStats
InternalNumericMetricsAggregation.MultiValue, InternalNumericMetricsAggregation.SingleValueInternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.TypeExtendedStats.BoundsNumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static AggregationStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
count, max, min, sumvalueFormattermetaData, nameEMPTY_PARAMS| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
InternalExtendedStats() |
|
InternalExtendedStats(String name,
long count,
double sum,
double min,
double max,
double sumOfSqrs,
double sigma,
ValueFormatter formatter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
InternalExtendedStats |
doReduce(List<InternalAggregation> aggregations,
InternalAggregation.ReduceContext reduceContext) |
double |
getStdDeviation()
The standard deviation of the collected values.
|
String |
getStdDeviationAsString()
The standard deviation of the collected values as a String.
|
double |
getStdDeviationBound(ExtendedStats.Bounds bound)
The upper or lower bounds of the stdDeviation
|
String |
getStdDeviationBoundAsString(ExtendedStats.Bounds bound)
The upper or lower bounds of stdDev of the collected values as a String.
|
double |
getSumOfSquares()
The sum of the squares of the collected values.
|
String |
getSumOfSquaresAsString()
The sum of the squares of the collected values as a String.
|
double |
getVariance()
The variance of the collected values.
|
String |
getVarianceAsString()
The variance of the collected values as a String.
|
protected XContentBuilder |
otherStatsToXCotent(XContentBuilder builder,
ToXContent.Params params) |
void |
readOtherStatsFrom(StreamInput in) |
static void |
registerStreams() |
InternalAggregation.Type |
type() |
double |
value(String name) |
protected void |
writeOtherStatsTo(StreamOutput out) |
doReadFrom, doWriteTo, doXContentBody, getAvg, getAvgAsString, getCount, getCountAsString, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsStringgetProperty, valueAsStringgetMetaData, getName, getProperty, pipelineAggregators, readFrom, readSize, reduce, toXContent, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvg, getAvgAsString, getCount, getCountAsString, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsStringgetMetaData, getName, getPropertypublic static final InternalAggregation.Type TYPE
public static final AggregationStreams.Stream STREAM
protected InternalExtendedStats()
public InternalExtendedStats(String name, long count, double sum, double min, double max, double sumOfSqrs, double sigma, ValueFormatter formatter, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData)
public static void registerStreams()
public InternalAggregation.Type type()
type クラス内 InternalStatsInternalAggregation.Type of this aggregationpublic double value(String name)
value クラス内 InternalStatspublic double getSumOfSquares()
ExtendedStatsgetSumOfSquares インタフェース内 ExtendedStatspublic double getVariance()
ExtendedStatsgetVariance インタフェース内 ExtendedStatspublic double getStdDeviation()
ExtendedStatsgetStdDeviation インタフェース内 ExtendedStatspublic double getStdDeviationBound(ExtendedStats.Bounds bound)
ExtendedStatsgetStdDeviationBound インタフェース内 ExtendedStatspublic String getSumOfSquaresAsString()
ExtendedStatsgetSumOfSquaresAsString インタフェース内 ExtendedStatspublic String getVarianceAsString()
ExtendedStatsgetVarianceAsString インタフェース内 ExtendedStatspublic String getStdDeviationAsString()
ExtendedStatsgetStdDeviationAsString インタフェース内 ExtendedStatspublic String getStdDeviationBoundAsString(ExtendedStats.Bounds bound)
ExtendedStatsgetStdDeviationBoundAsString インタフェース内 ExtendedStatspublic InternalExtendedStats doReduce(List<InternalAggregation> aggregations, InternalAggregation.ReduceContext reduceContext)
doReduce クラス内 InternalStatspublic void readOtherStatsFrom(StreamInput in) throws IOException
readOtherStatsFrom クラス内 InternalStatsIOExceptionprotected void writeOtherStatsTo(StreamOutput out) throws IOException
writeOtherStatsTo クラス内 InternalStatsIOExceptionprotected XContentBuilder otherStatsToXCotent(XContentBuilder builder, ToXContent.Params params) throws IOException
otherStatsToXCotent クラス内 InternalStatsIOExceptionCopyright © 2009–2016. All rights reserved.