java.lang.Iterable<Percentile>
, ToXContent
, ToXContentFragment
, Aggregation
, NumericMetricsAggregation
, NumericMetricsAggregation.MultiValue
, PercentileRanks
ParsedHDRPercentileRanks
, ParsedTDigestPercentileRanks
public abstract class ParsedPercentileRanks extends ParsedPercentiles implements PercentileRanks
Aggregation.CommonFields
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValue
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TYPED_KEYS_DELIMITER
metadata
percentiles, percentilesAsString
TYPE_NAME
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedPercentileRanks() |
Modifier and Type | Method | Description |
---|---|---|
double |
percent(double value) |
Return the percentile for the given value.
|
java.lang.String |
percentAsString(double value) |
Return the percentile for the given value as a String.
|
getMetaData, getName, getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContent
declarePercentilesFields, doXContentBody, getPercentile, getPercentileAsString, iterator
toXContent
isFragment
public double percent(double value)
PercentileRanks
percent
in interface PercentileRanks
public java.lang.String percentAsString(double value)
PercentileRanks
percentAsString
in interface PercentileRanks