Module org.elasticsearch.server
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:
- Aggregation,- ExtendedStats,- NumericMetricsAggregation,- NumericMetricsAggregation.MultiValue,- Stats,- ToXContent,- ToXContentFragment
- Direct Known Subclasses:
- ParsedExtendedStatsBucket
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.AggregationAggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.ExtendedStatsExtendedStats.BoundsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregationNumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleFields inherited from class org.elasticsearch.search.aggregations.metrics.ParsedStatscount, max, min, valueAsStringFields inherited from class org.elasticsearch.search.aggregations.ParsedAggregationmetadataFields inherited from interface org.elasticsearch.search.aggregations.AggregationTYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected static voiddeclareExtendedStatsFields(ObjectParser<? extends ParsedExtendedStats, Void> objectParser) static ParsedExtendedStatsfromXContent(XContentParser parser, String name) doubleThe population standard deviation of the collected values.The population standard deviation of the collected values as a String.doubleThe upper or lower bounds of the stdDeviationThe upper or lower bounds of stdDev of the collected values as a String.doubleThe population standard deviation of the collected values.The population standard deviation of the collected values as a String.doubleThe sampling standard deviation of the collected values.The sampling standard deviation of the collected values as a String.doubleThe sum of the squares of the collected values.The sum of the squares of the collected values as a String.getType()doubleThe population variance of the collected values.The population variance of the collected values as a String.doubleThe population variance of the collected values.The population variance of the collected values as a String.doubleThe sampling variance of the collected values.The sampling variance of the collected values as a String.protected XContentBuilderotherStatsToXContent(XContentBuilder builder, ToXContent.Params params) Methods inherited from class org.elasticsearch.search.aggregations.metrics.ParsedStatsdeclareStatsFields, doXContentBody, getAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsString, value, valueNamesMethods inherited from class org.elasticsearch.search.aggregations.ParsedAggregationdeclareAggregationFields, getMetadata, getName, parseDouble, setName, toXContentMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.AggregationgetMetadata, getNameMethods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.MultiValuevalue, valueNamesMethods inherited from interface org.elasticsearch.search.aggregations.metrics.StatsgetAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsStringMethods inherited from interface org.elasticsearch.xcontent.ToXContenttoXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragmentisFragment
- 
Field Details- 
sumOfSquaresprotected double sumOfSquares
- 
varianceprotected double variance
- 
variancePopulationprotected double variancePopulation
- 
varianceSamplingprotected double varianceSampling
- 
stdDeviationprotected double stdDeviation
- 
stdDeviationPopulationprotected double stdDeviationPopulation
- 
stdDeviationSamplingprotected double stdDeviationSampling
- 
stdDeviationBoundUpperprotected double stdDeviationBoundUpper
- 
stdDeviationBoundLowerprotected double stdDeviationBoundLower
- 
stdDeviationBoundUpperPopulationprotected double stdDeviationBoundUpperPopulation
- 
stdDeviationBoundLowerPopulationprotected double stdDeviationBoundLowerPopulation
- 
stdDeviationBoundUpperSamplingprotected double stdDeviationBoundUpperSampling
- 
stdDeviationBoundLowerSamplingprotected double stdDeviationBoundLowerSampling
- 
sumprotected double sum
- 
avgprotected double avg
 
- 
- 
Constructor Details- 
ParsedExtendedStatspublic ParsedExtendedStats()
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein interface- Aggregation
- Overrides:
- getTypein class- ParsedStats
- 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.
 
- 
getSumOfSquarespublic double getSumOfSquares()Description copied from interface:ExtendedStatsThe sum of the squares of the collected values.- Specified by:
- getSumOfSquaresin interface- ExtendedStats
 
- 
getVariancepublic double getVariance()Description copied from interface:ExtendedStatsThe population variance of the collected values.- Specified by:
- getVariancein interface- ExtendedStats
 
- 
getVariancePopulationpublic double getVariancePopulation()Description copied from interface:ExtendedStatsThe population variance of the collected values.- Specified by:
- getVariancePopulationin interface- ExtendedStats
 
- 
getVarianceSamplingpublic double getVarianceSampling()Description copied from interface:ExtendedStatsThe sampling variance of the collected values.- Specified by:
- getVarianceSamplingin interface- ExtendedStats
 
- 
getStdDeviationpublic double getStdDeviation()Description copied from interface:ExtendedStatsThe population standard deviation of the collected values.- Specified by:
- getStdDeviationin interface- ExtendedStats
 
- 
getStdDeviationPopulationpublic double getStdDeviationPopulation()Description copied from interface:ExtendedStatsThe population standard deviation of the collected values.- Specified by:
- getStdDeviationPopulationin interface- ExtendedStats
 
- 
getStdDeviationSamplingpublic double getStdDeviationSampling()Description copied from interface:ExtendedStatsThe sampling standard deviation of the collected values.- Specified by:
- getStdDeviationSamplingin interface- ExtendedStats
 
- 
getStdDeviationBoundDescription copied from interface:ExtendedStatsThe upper or lower bounds of the stdDeviation- Specified by:
- getStdDeviationBoundin interface- ExtendedStats
 
- 
getStdDeviationAsStringDescription copied from interface:ExtendedStatsThe population standard deviation of the collected values as a String.- Specified by:
- getStdDeviationAsStringin interface- ExtendedStats
 
- 
getStdDeviationPopulationAsStringDescription copied from interface:ExtendedStatsThe population standard deviation of the collected values as a String.- Specified by:
- getStdDeviationPopulationAsStringin interface- ExtendedStats
 
- 
getStdDeviationSamplingAsStringDescription copied from interface:ExtendedStatsThe sampling standard deviation of the collected values as a String.- Specified by:
- getStdDeviationSamplingAsStringin interface- ExtendedStats
 
- 
getStdDeviationBoundAsStringDescription copied from interface:ExtendedStatsThe upper or lower bounds of stdDev of the collected values as a String.- Specified by:
- getStdDeviationBoundAsStringin interface- ExtendedStats
 
- 
getSumOfSquaresAsStringDescription copied from interface:ExtendedStatsThe sum of the squares of the collected values as a String.- Specified by:
- getSumOfSquaresAsStringin interface- ExtendedStats
 
- 
getVarianceAsStringDescription copied from interface:ExtendedStatsThe population variance of the collected values as a String.- Specified by:
- getVarianceAsStringin interface- ExtendedStats
 
- 
getVariancePopulationAsStringDescription copied from interface:ExtendedStatsThe population variance of the collected values as a String.- Specified by:
- getVariancePopulationAsStringin interface- ExtendedStats
 
- 
getVarianceSamplingAsStringDescription copied from interface:ExtendedStatsThe sampling variance of the collected values as a String.- Specified by:
- getVarianceSamplingAsStringin interface- ExtendedStats
 
- 
otherStatsToXContentprotected XContentBuilder otherStatsToXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Overrides:
- otherStatsToXContentin class- ParsedStats
- Throws:
- IOException
 
- 
declareExtendedStatsFieldsprotected static void declareExtendedStatsFields(ObjectParser<? extends ParsedExtendedStats, Void> objectParser) 
- 
fromXContent
 
-