Interface Bucket

All Known Implementing Classes:
PredefinedBucket, SimpleBucket, ValueRangeBucket

public interface Bucket
Bucket represents a single element of a search result categorization. This could be a single value or a predefined value range.
  • Method Details

    • getCount

      long getCount()
      Returns:
      the number of items in this bucket.
    • getValue

      String getValue()
      Returns:
      the value for this bucket.
    • getPredicate

      Predicate getPredicate()
      Returns:
      a predicate representing this bucket that can be used for a new search