Class ParsedPercentileRanks
- java.lang.Object
-
- org.elasticsearch.search.aggregations.ParsedAggregation
-
- org.elasticsearch.search.aggregations.metrics.percentiles.ParsedPercentiles
-
- org.elasticsearch.search.aggregations.metrics.percentiles.ParsedPercentileRanks
-
- All Implemented Interfaces:
java.lang.Iterable<Percentile>
,ToXContent
,ToXContentFragment
,Aggregation
,NumericMetricsAggregation
,NumericMetricsAggregation.MultiValue
,PercentileRanks
- Direct Known Subclasses:
ParsedHDRPercentileRanks
,ParsedTDigestPercentileRanks
public abstract class ParsedPercentileRanks extends ParsedPercentiles implements PercentileRanks
-
-
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 inherited from class org.elasticsearch.search.aggregations.metrics.percentiles.ParsedPercentiles
percentiles, percentilesAsString
-
Fields inherited from class org.elasticsearch.search.aggregations.ParsedAggregation
metadata
-
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
-
Fields inherited from interface org.elasticsearch.search.aggregations.metrics.percentiles.PercentileRanks
TYPE_NAME
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description ParsedPercentileRanks()
-
Method Summary
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.-
Methods inherited from class org.elasticsearch.search.aggregations.metrics.percentiles.ParsedPercentiles
declarePercentilesFields, doXContentBody, getPercentile, getPercentileAsString, iterator
-
Methods inherited from class org.elasticsearch.search.aggregations.ParsedAggregation
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetaData, getName, getType
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Method Detail
-
percent
public double percent(double value)
Description copied from interface:PercentileRanks
Return the percentile for the given value.- Specified by:
percent
in interfacePercentileRanks
-
percentAsString
public java.lang.String percentAsString(double value)
Description copied from interface:PercentileRanks
Return the percentile for the given value as a String.- Specified by:
percentAsString
in interfacePercentileRanks
-
-