Interface PercentileRanks
- All Superinterfaces:
Aggregation,Iterable<Percentile>,NumericMetricsAggregation,NumericMetricsAggregation.MultiValue,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
- All Known Implementing Classes:
InternalHDRPercentileRanks,InternalTDigestPercentileRanks,ParsedHDRPercentileRanks,ParsedTDigestPercentileRanks
An aggregation that computes approximate percentiles given values.
-
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 TypeMethodDescriptiondoublepercent(double value)Return the percentile for the given value.percentAsString(double value)Return the percentile for the given value 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
-
percent
double percent(double value)Return the percentile for the given value. -
percentAsString
Return the percentile for the given value as a String.
-