Interface PercentileRanks

All Superinterfaces:
Aggregation, Iterable<Percentile>, NumericMetricsAggregation, NumericMetricsAggregation.MultiValue, ToXContent, ToXContentFragment
All Known Implementing Classes:
InternalHDRPercentileRanks, InternalTDigestPercentileRanks, ParsedHDRPercentileRanks, ParsedTDigestPercentileRanks

public interface PercentileRanks extends NumericMetricsAggregation.MultiValue, Iterable<Percentile>
An aggregation that computes approximate percentiles given values.
  • Field Details

  • Method Details

    • percent

      double percent(double value)
      Return the percentile for the given value.
    • percentAsString

      String percentAsString(double value)
      Return the percentile for the given value as a String.