Module org.elasticsearch.server
Interface Range.Bucket
- All Superinterfaces:
HasAggregations
,MultiBucketsAggregation.Bucket
,ToXContent
- All Known Implementing Classes:
InternalBinaryRange.Bucket
,InternalDateRange.Bucket
,InternalRange.Bucket
- Enclosing interface:
- Range
A bucket associated with a specific range
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Method Summary
Methods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket
getAggregations, getDocCount, getKey, getKeyAsString
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
isFragment, toXContent
-
Method Details
-
getFrom
Object getFrom()- Returns:
- The lower bound of the range
-
getFromAsString
String getFromAsString()- Returns:
- The string value for the lower bound of the range
-
getTo
Object getTo()- Returns:
- The upper bound of the range (excluding)
-
getToAsString
String getToAsString()- Returns:
- The string value for the upper bound of the range (excluding)
-