ToXContent, ToXContentFragment, Aggregation, NumericMetricsAggregation, NumericMetricsAggregation.MultiValue, ExtendedStats, StatsParsedExtendedStatsBucketpublic class ParsedExtendedStats extends ParsedStats implements ExtendedStats
Aggregation.CommonFieldsExtendedStats.BoundsNumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field | Description |
|---|---|---|
protected double |
avg |
|
protected double |
stdDeviation |
|
protected double |
stdDeviationBoundLower |
|
protected double |
stdDeviationBoundUpper |
|
protected double |
sum |
|
protected double |
sumOfSquares |
|
protected double |
variance |
TYPED_KEYS_DELIMITERmetadatacount, max, min, valueAsStringEMPTY_PARAMS| Constructor | Description |
|---|---|
ParsedExtendedStats() |
| Modifier and Type | Method | Description |
|---|---|---|
protected static void |
declareExtendedStatsFields(ObjectParser<? extends ParsedExtendedStats,java.lang.Void> objectParser) |
|
static ParsedExtendedStats |
fromXContent(XContentParser parser,
java.lang.String name) |
|
double |
getStdDeviation() |
The standard deviation of the collected values.
|
java.lang.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
|
java.lang.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.
|
java.lang.String |
getSumOfSquaresAsString() |
The sum of the squares of the collected values as a String.
|
java.lang.String |
getType() |
|
double |
getVariance() |
The variance of the collected values.
|
java.lang.String |
getVarianceAsString() |
The variance of the collected values as a String.
|
protected XContentBuilder |
otherStatsToXContent(XContentBuilder builder,
ToXContent.Params params) |
getMetaData, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeclareAggregationFields, getMetaData, getName, parseDouble, setName, toXContentdeclareStatsFields, doXContentBody, getAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsStringgetAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsStringtoXContentisFragmentprotected double sumOfSquares
protected double variance
protected double stdDeviation
protected double stdDeviationBoundUpper
protected double stdDeviationBoundLower
protected double sum
protected double avg
public java.lang.String getType()
getType in interface AggregationgetType in class ParsedStatspublic double getSumOfSquares()
ExtendedStatsgetSumOfSquares in interface ExtendedStatspublic double getVariance()
ExtendedStatsgetVariance in interface ExtendedStatspublic double getStdDeviation()
ExtendedStatsgetStdDeviation in interface ExtendedStatspublic double getStdDeviationBound(ExtendedStats.Bounds bound)
ExtendedStatsgetStdDeviationBound in interface ExtendedStatspublic java.lang.String getStdDeviationAsString()
ExtendedStatsgetStdDeviationAsString in interface ExtendedStatspublic java.lang.String getStdDeviationBoundAsString(ExtendedStats.Bounds bound)
ExtendedStatsgetStdDeviationBoundAsString in interface ExtendedStatspublic java.lang.String getSumOfSquaresAsString()
ExtendedStatsgetSumOfSquaresAsString in interface ExtendedStatspublic java.lang.String getVarianceAsString()
ExtendedStatsgetVarianceAsString in interface ExtendedStatsprotected XContentBuilder otherStatsToXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
otherStatsToXContent in class ParsedStatsjava.io.IOExceptionprotected static void declareExtendedStatsFields(ObjectParser<? extends ParsedExtendedStats,java.lang.Void> objectParser)
public static ParsedExtendedStats fromXContent(XContentParser parser, java.lang.String name)