Class ParsedPercentiles
java.lang.Object
org.elasticsearch.search.aggregations.ParsedAggregation
org.elasticsearch.search.aggregations.metrics.ParsedPercentiles
- All Implemented Interfaces:
Iterable<Percentile>
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
,Aggregation
- Direct Known Subclasses:
ParsedHDRPercentileRanks
,ParsedHDRPercentiles
,ParsedPercentilesBucket
,ParsedTDigestPercentileRanks
,ParsedTDigestPercentiles
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested 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
Modifier and TypeFieldDescriptionFields 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.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
declarePercentilesFields(org.elasticsearch.common.xcontent.ObjectParser<? extends ParsedPercentiles,Void> objectParser)
protected org.elasticsearch.common.xcontent.XContentBuilder
doXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
protected Double
getPercentile(double percent)
protected String
getPercentileAsString(double percent)
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
getType
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
percentiles
-
percentilesAsString
-
-
Constructor Details
-
ParsedPercentiles
public ParsedPercentiles()
-
-
Method Details
-
getPercentile
-
getPercentileAsString
-
iterator
- Specified by:
iterator
in interfaceIterable<Percentile>
-
doXContentBody
protected org.elasticsearch.common.xcontent.XContentBuilder doXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
doXContentBody
in classParsedAggregation
- Throws:
IOException
-
declarePercentilesFields
protected static void declarePercentilesFields(org.elasticsearch.common.xcontent.ObjectParser<? extends ParsedPercentiles,Void> objectParser)
-