Interface Percentiles
- All Superinterfaces:
Aggregation,java.lang.Iterable<Percentile>,NumericMetricsAggregation,NumericMetricsAggregation.MultiValue,ToXContent,ToXContentFragment
- All Known Subinterfaces:
PercentilesBucket
- All Known Implementing Classes:
InternalHDRPercentiles,InternalPercentilesBucket,InternalTDigestPercentiles,ParsedHDRPercentiles,ParsedPercentilesBucket,ParsedTDigestPercentiles
public interface Percentiles extends NumericMetricsAggregation.MultiValue, java.lang.Iterable<Percentile>
An aggregation that computes approximate percentiles.
-
Nested Class Summary
Nested 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 Modifier and Type Field Description static java.lang.StringTYPE_NAMEFields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER -
Method Summary
Modifier and Type Method Description doublepercentile(double percent)Return the value associated with the provided percentile.java.lang.StringpercentileAsString(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
-
Field Details
-
TYPE_NAME
static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
-
Method Details
-
percentile
double percentile(double percent)Return the value associated with the provided percentile. -
percentileAsString
java.lang.String percentileAsString(double percent)Return the value associated with the provided percentile as a String.
-