Interface ExtendedStats
- All Superinterfaces:
Aggregation,NumericMetricsAggregation,NumericMetricsAggregation.MultiValue,Stats,ToXContent,ToXContentFragment
- All Known Subinterfaces:
ExtendedStatsBucket
- All Known Implementing Classes:
InternalExtendedStats,InternalExtendedStatsBucket,ParsedExtendedStats,ParsedExtendedStatsBucket
public interface ExtendedStats extends Stats
Statistics over a set of values (either aggregated over field data or scripts)
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExtendedStats.BoundsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER -
Method Summary
Modifier and Type Method Description doublegetStdDeviation()The standard deviation of the collected values.java.lang.StringgetStdDeviationAsString()The standard deviation of the collected values as a String.doublegetStdDeviationBound(ExtendedStats.Bounds bound)The upper or lower bounds of the stdDeviationjava.lang.StringgetStdDeviationBoundAsString(ExtendedStats.Bounds bound)The upper or lower bounds of stdDev of the collected values as a String.doublegetSumOfSquares()The sum of the squares of the collected values.java.lang.StringgetSumOfSquaresAsString()The sum of the squares of the collected values as a String.doublegetVariance()The variance of the collected values.java.lang.StringgetVarianceAsString()The variance of the collected values as a String.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetaData, getName, getTypeMethods inherited from interface org.elasticsearch.search.aggregations.metrics.Stats
getAvg, getAvgAsString, getCount, getMax, getMaxAsString, getMin, getMinAsString, getSum, getSumAsString
-
Method Details
-
getSumOfSquares
double getSumOfSquares()The sum of the squares of the collected values. -
getVariance
double getVariance()The variance of the collected values. -
getStdDeviation
double getStdDeviation()The standard deviation of the collected values. -
getStdDeviationBound
The upper or lower bounds of the stdDeviation -
getStdDeviationAsString
java.lang.String getStdDeviationAsString()The standard deviation of the collected values as a String. -
getStdDeviationBoundAsString
The upper or lower bounds of stdDev of the collected values as a String. -
getSumOfSquaresAsString
java.lang.String getSumOfSquaresAsString()The sum of the squares of the collected values as a String. -
getVarianceAsString
java.lang.String getVarianceAsString()The variance of the collected values as a String.
-