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
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
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
FieldsFields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptiondoublepercentile(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, getTypeMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.MultiValue
value, valueNamesMethods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Details
-
percentile
double percentile(double percent)Return the value associated with the provided percentile. -
percentileAsString
Return the value associated with the provided percentile as a String.
-