Class ParsedExtendedStats

java.lang.Object
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment, Aggregation, ExtendedStats, NumericMetricsAggregation, NumericMetricsAggregation.MultiValue, Stats
Direct Known Subclasses:
ParsedExtendedStatsBucket

public class ParsedExtendedStats
extends ParsedStats
implements ExtendedStats
  • 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

      public java.lang.String getType()
      Specified by:
      getType in interface Aggregation
      Overrides:
      getType in 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.
    • getSumOfSquares

      public double getSumOfSquares()
      Description copied from interface: ExtendedStats
      The sum of the squares of the collected values.
      Specified by:
      getSumOfSquares in interface ExtendedStats
    • getVariance

      public double getVariance()
      Description copied from interface: ExtendedStats
      The population variance of the collected values.
      Specified by:
      getVariance in interface ExtendedStats
    • getVariancePopulation

      public double getVariancePopulation()
      Description copied from interface: ExtendedStats
      The population variance of the collected values.
      Specified by:
      getVariancePopulation in interface ExtendedStats
    • getVarianceSampling

      public double getVarianceSampling()
      Description copied from interface: ExtendedStats
      The sampling variance of the collected values.
      Specified by:
      getVarianceSampling in interface ExtendedStats
    • getStdDeviation

      public double getStdDeviation()
      Description copied from interface: ExtendedStats
      The population standard deviation of the collected values.
      Specified by:
      getStdDeviation in interface ExtendedStats
    • getStdDeviationPopulation

      public double getStdDeviationPopulation()
      Description copied from interface: ExtendedStats
      The population standard deviation of the collected values.
      Specified by:
      getStdDeviationPopulation in interface ExtendedStats
    • getStdDeviationSampling

      public double getStdDeviationSampling()
      Description copied from interface: ExtendedStats
      The sampling standard deviation of the collected values.
      Specified by:
      getStdDeviationSampling in interface ExtendedStats
    • getStdDeviationBound

      public double getStdDeviationBound​(ExtendedStats.Bounds bound)
      Description copied from interface: ExtendedStats
      The upper or lower bounds of the stdDeviation
      Specified by:
      getStdDeviationBound in interface ExtendedStats
    • getStdDeviationAsString

      public java.lang.String getStdDeviationAsString()
      Description copied from interface: ExtendedStats
      The population standard deviation of the collected values as a String.
      Specified by:
      getStdDeviationAsString in interface ExtendedStats
    • getStdDeviationPopulationAsString

      public java.lang.String getStdDeviationPopulationAsString()
      Description copied from interface: ExtendedStats
      The population standard deviation of the collected values as a String.
      Specified by:
      getStdDeviationPopulationAsString in interface ExtendedStats
    • getStdDeviationSamplingAsString

      public java.lang.String getStdDeviationSamplingAsString()
      Description copied from interface: ExtendedStats
      The sampling standard deviation of the collected values as a String.
      Specified by:
      getStdDeviationSamplingAsString in interface ExtendedStats
    • getStdDeviationBoundAsString

      public java.lang.String getStdDeviationBoundAsString​(ExtendedStats.Bounds bound)
      Description copied from interface: ExtendedStats
      The upper or lower bounds of stdDev of the collected values as a String.
      Specified by:
      getStdDeviationBoundAsString in interface ExtendedStats
    • getSumOfSquaresAsString

      public java.lang.String getSumOfSquaresAsString()
      Description copied from interface: ExtendedStats
      The sum of the squares of the collected values as a String.
      Specified by:
      getSumOfSquaresAsString in interface ExtendedStats
    • getVarianceAsString

      public java.lang.String getVarianceAsString()
      Description copied from interface: ExtendedStats
      The population variance of the collected values as a String.
      Specified by:
      getVarianceAsString in interface ExtendedStats
    • getVariancePopulationAsString

      public java.lang.String getVariancePopulationAsString()
      Description copied from interface: ExtendedStats
      The population variance of the collected values as a String.
      Specified by:
      getVariancePopulationAsString in interface ExtendedStats
    • getVarianceSamplingAsString

      public java.lang.String getVarianceSamplingAsString()
      Description copied from interface: ExtendedStats
      The sampling variance of the collected values as a String.
      Specified by:
      getVarianceSamplingAsString in interface ExtendedStats
    • otherStatsToXContent

      protected org.elasticsearch.common.xcontent.XContentBuilder otherStatsToXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Overrides:
      otherStatsToXContent in class ParsedStats
      Throws:
      java.io.IOException
    • declareExtendedStatsFields

      protected static void declareExtendedStatsFields​(org.elasticsearch.common.xcontent.ObjectParser<? extends ParsedExtendedStats,​java.lang.Void> objectParser)
    • fromXContent

      public static ParsedExtendedStats fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser, java.lang.String name)