Interface Percentiles

All Superinterfaces:
Aggregation, Iterable<Percentile>, NumericMetricsAggregation, NumericMetricsAggregation.MultiValue, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment
All Known Subinterfaces:
PercentilesBucket
All Known Implementing Classes:
InternalHDRPercentiles, InternalPercentilesBucket, InternalTDigestPercentiles, ParsedHDRPercentiles, ParsedPercentilesBucket, ParsedTDigestPercentiles

public interface Percentiles extends NumericMetricsAggregation.MultiValue, Iterable<Percentile>
An aggregation that computes approximate percentiles.
  • 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.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

    Fields
    Modifier and Type
    Field
    Description
    static String
     

    Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation

    TYPED_KEYS_DELIMITER

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    percentile​(double percent)
    Return the value associated with the provided percentile.
    percentileAsString​(double percent)
    Return the value associated with the provided percentile as a String.

    Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation

    getMetadata, getName, getType

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator

    Methods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.MultiValue

    value, valueNames

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent

    toXContent

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment

    isFragment
  • Field Details

  • Method Details

    • percentile

      double percentile(double percent)
      Return the value associated with the provided percentile.
    • percentileAsString

      String percentileAsString(double percent)
      Return the value associated with the provided percentile as a String.