public class ParsedExtendedStats extends ParsedStats implements ExtendedStats
ExtendedStats.BoundsNumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueAggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
protected double |
avg |
protected double |
stdDeviation |
protected double |
stdDeviationBoundLower |
protected double |
stdDeviationBoundUpper |
protected double |
sum |
protected double |
sumOfSquares |
protected double |
variance |
count, max, min, valueAsStringmetadataTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
ParsedExtendedStats() |
| Modifier and Type | Method and 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) |
declareStatsFields, doXContentBody, getAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsStringdeclareAggregationFields, getMetaData, getName, parseDouble, setName, toXContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsStringgetMetaData, getNameisFragmenttoXContentprotected 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)