Interface Range
-
- All Superinterfaces:
Aggregation,MultiBucketsAggregation,ToXContent,ToXContentFragment
- All Known Implementing Classes:
InternalBinaryRange,InternalDateRange,InternalGeoDistance,InternalRange,ParsedBinaryRange,ParsedDateRange,ParsedGeoDistance,ParsedRange
public interface Range extends MultiBucketsAggregation
Arangeaggregation. 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 Classes Modifier and Type Interface Description static interfaceRange.BucketA bucket associated with a specific range-
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
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 java.util.List<? extends Range.Bucket>getBuckets()Return the buckets of this range aggregation.-
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
-
getBuckets
java.util.List<? extends Range.Bucket> getBuckets()
Return the buckets of this range aggregation.- Specified by:
getBucketsin interfaceMultiBucketsAggregation- Returns:
- The buckets of this aggregation.
-
-