Class ParsedExtendedStats
java.lang.Object
org.elasticsearch.search.aggregations.ParsedAggregation
org.elasticsearch.search.aggregations.metrics.ParsedStats
org.elasticsearch.search.aggregations.metrics.ParsedExtendedStats
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
,Aggregation
,ExtendedStats
,NumericMetricsAggregation
,NumericMetricsAggregation.MultiValue
,Stats
- Direct Known Subclasses:
ParsedExtendedStatsBucket
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.ExtendedStats
ExtendedStats.Bounds
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValue
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
-
Field Summary
Modifier and TypeFieldDescriptionprotected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
Fields inherited from class org.elasticsearch.search.aggregations.metrics.ParsedStats
count, max, min, valueAsString
Fields inherited from class org.elasticsearch.search.aggregations.ParsedAggregation
metadata
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
declareExtendedStatsFields(org.elasticsearch.common.xcontent.ObjectParser<? extends ParsedExtendedStats,Void> objectParser)
static ParsedExtendedStats
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser, String name)
double
The population standard deviation of the collected values.The population standard deviation of the collected values as a String.double
The upper or lower bounds of the stdDeviationThe upper or lower bounds of stdDev of the collected values as a String.double
The population standard deviation of the collected values.The population standard deviation of the collected values as a String.double
The sampling standard deviation of the collected values.The sampling standard deviation of the collected values as a String.double
The sum of the squares of the collected values.The sum of the squares of the collected values as a String.getType()
double
The population variance of the collected values.The population variance of the collected values as a String.double
The population variance of the collected values.The population variance of the collected values as a String.double
The sampling variance of the collected values.The sampling variance of the collected values as a String.protected org.elasticsearch.common.xcontent.XContentBuilder
otherStatsToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class org.elasticsearch.search.aggregations.metrics.ParsedStats
declareStatsFields, doXContentBody, getAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsString, value, valueNames
Methods inherited from class org.elasticsearch.search.aggregations.ParsedAggregation
declareAggregationFields, getMetadata, getName, parseDouble, setName, toXContent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName
Methods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.MultiValue
value, valueNames
Methods inherited from interface org.elasticsearch.search.aggregations.metrics.Stats
getAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsString
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
sumOfSquares
protected double sumOfSquares -
variance
protected double variance -
variancePopulation
protected double variancePopulation -
varianceSampling
protected double varianceSampling -
stdDeviation
protected double stdDeviation -
stdDeviationPopulation
protected double stdDeviationPopulation -
stdDeviationSampling
protected double stdDeviationSampling -
stdDeviationBoundUpper
protected double stdDeviationBoundUpper -
stdDeviationBoundLower
protected double stdDeviationBoundLower -
stdDeviationBoundUpperPopulation
protected double stdDeviationBoundUpperPopulation -
stdDeviationBoundLowerPopulation
protected double stdDeviationBoundLowerPopulation -
stdDeviationBoundUpperSampling
protected double stdDeviationBoundUpperSampling -
stdDeviationBoundLowerSampling
protected double stdDeviationBoundLowerSampling -
sum
protected double sum -
avg
protected double avg
-
-
Constructor Details
-
ParsedExtendedStats
public ParsedExtendedStats()
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceAggregation
- Overrides:
getType
in classParsedStats
- Returns:
- a string representing the type of the aggregation. This type is added to the aggregation name in the response, so that it can later be used by clients to determine type of the aggregation and parse it into the proper object.
-
getSumOfSquares
public double getSumOfSquares()Description copied from interface:ExtendedStats
The sum of the squares of the collected values.- Specified by:
getSumOfSquares
in interfaceExtendedStats
-
getVariance
public double getVariance()Description copied from interface:ExtendedStats
The population variance of the collected values.- Specified by:
getVariance
in interfaceExtendedStats
-
getVariancePopulation
public double getVariancePopulation()Description copied from interface:ExtendedStats
The population variance of the collected values.- Specified by:
getVariancePopulation
in interfaceExtendedStats
-
getVarianceSampling
public double getVarianceSampling()Description copied from interface:ExtendedStats
The sampling variance of the collected values.- Specified by:
getVarianceSampling
in interfaceExtendedStats
-
getStdDeviation
public double getStdDeviation()Description copied from interface:ExtendedStats
The population standard deviation of the collected values.- Specified by:
getStdDeviation
in interfaceExtendedStats
-
getStdDeviationPopulation
public double getStdDeviationPopulation()Description copied from interface:ExtendedStats
The population standard deviation of the collected values.- Specified by:
getStdDeviationPopulation
in interfaceExtendedStats
-
getStdDeviationSampling
public double getStdDeviationSampling()Description copied from interface:ExtendedStats
The sampling standard deviation of the collected values.- Specified by:
getStdDeviationSampling
in interfaceExtendedStats
-
getStdDeviationBound
Description copied from interface:ExtendedStats
The upper or lower bounds of the stdDeviation- Specified by:
getStdDeviationBound
in interfaceExtendedStats
-
getStdDeviationAsString
Description copied from interface:ExtendedStats
The population standard deviation of the collected values as a String.- Specified by:
getStdDeviationAsString
in interfaceExtendedStats
-
getStdDeviationPopulationAsString
Description copied from interface:ExtendedStats
The population standard deviation of the collected values as a String.- Specified by:
getStdDeviationPopulationAsString
in interfaceExtendedStats
-
getStdDeviationSamplingAsString
Description copied from interface:ExtendedStats
The sampling standard deviation of the collected values as a String.- Specified by:
getStdDeviationSamplingAsString
in interfaceExtendedStats
-
getStdDeviationBoundAsString
Description copied from interface:ExtendedStats
The upper or lower bounds of stdDev of the collected values as a String.- Specified by:
getStdDeviationBoundAsString
in interfaceExtendedStats
-
getSumOfSquaresAsString
Description copied from interface:ExtendedStats
The sum of the squares of the collected values as a String.- Specified by:
getSumOfSquaresAsString
in interfaceExtendedStats
-
getVarianceAsString
Description copied from interface:ExtendedStats
The population variance of the collected values as a String.- Specified by:
getVarianceAsString
in interfaceExtendedStats
-
getVariancePopulationAsString
Description copied from interface:ExtendedStats
The population variance of the collected values as a String.- Specified by:
getVariancePopulationAsString
in interfaceExtendedStats
-
getVarianceSamplingAsString
Description copied from interface:ExtendedStats
The sampling variance of the collected values as a String.- Specified by:
getVarianceSamplingAsString
in interfaceExtendedStats
-
otherStatsToXContent
protected org.elasticsearch.common.xcontent.XContentBuilder otherStatsToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Overrides:
otherStatsToXContent
in classParsedStats
- Throws:
IOException
-
declareExtendedStatsFields
protected static void declareExtendedStatsFields(org.elasticsearch.common.xcontent.ObjectParser<? extends ParsedExtendedStats,Void> objectParser) -
fromXContent
public static ParsedExtendedStats fromXContent(org.elasticsearch.common.xcontent.XContentParser parser, String name)
-