Interface Range.Bucket

All Superinterfaces:
HasAggregations, MultiBucketsAggregation.Bucket, org.elasticsearch.common.xcontent.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
  • Nested Class Summary

    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

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object getFrom()  
    java.lang.String getFromAsString()  
    java.lang.Object getTo()  
    java.lang.String getToAsString()  

    Methods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket

    getAggregations, getDocCount, getKey, getKeyAsString

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent

    isFragment, toXContent
  • Method Details

    • getFrom

      java.lang.Object getFrom()
      Returns:
      The lower bound of the range
    • getFromAsString

      java.lang.String getFromAsString()
      Returns:
      The string value for the lower bound of the range
    • getTo

      java.lang.Object getTo()
      Returns:
      The upper bound of the range (excluding)
    • getToAsString

      java.lang.String getToAsString()
      Returns:
      The string value for the upper bound of the range (excluding)