Interface Percentiles
-
- All Superinterfaces:
Aggregation,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, 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
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_NAME-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublepercentile(double percent)Return the value associated with the provided percentile.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
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Field Detail
-
TYPE_NAME
static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-