Interface Range
- All Superinterfaces:
Aggregation,MultiBucketsAggregation,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
- All Known Implementing Classes:
InternalBinaryRange,InternalDateRange,InternalGeoDistance,InternalRange,ParsedBinaryRange,ParsedDateRange,ParsedGeoDistance,ParsedRange
A
range aggregation. Defines multiple buckets, each associated with a pre-defined value range of a field,
and where the value of that fields in all documents in each bucket fall in the bucket's range.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA bucket associated with a specific rangeNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested 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
Fields 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 TypeMethodDescriptionList<? extends Range.Bucket>Return the buckets of this range aggregation.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getTypeMethods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Method Details
-
getBuckets
List<? extends Range.Bucket> getBuckets()Return the buckets of this range aggregation.- Specified by:
getBucketsin interfaceMultiBucketsAggregation- Returns:
- The buckets of this aggregation.
-