Interface Range.Bucket

All Superinterfaces:
HasAggregations, MultiBucketsAggregation.Bucket, ToXContent
All Known Implementing Classes:
InternalBinaryRange.Bucket, InternalDateRange.Bucket, InternalRange.Bucket, ParsedBinaryRange.ParsedBucket, ParsedDateRange.ParsedBucket, ParsedGeoDistance.ParsedBucket, ParsedRange.ParsedBucket
Enclosing interface:
Range

public static interface Range.Bucket extends MultiBucketsAggregation.Bucket
A bucket associated with a specific range
  • 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)