Package com.day.cq.search.facets
Interface Bucket
-
- All Known Implementing Classes:
PredefinedBucket,SimpleBucket,ValueRangeBucket
public interface BucketBucketrepresents a single element of a search result categorization. This could be asingle valueor a predefinedvalue range.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCount()PredicategetPredicate()java.lang.StringgetValue()
-
-
-
Method Detail
-
getCount
long getCount()
- Returns:
- the number of items in this bucket.
-
getValue
java.lang.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
-
-