Package com.day.cq.search.facets
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 asingle value
or a predefinedvalue range
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCount()
Predicate
getPredicate()
java.lang.String
getValue()
-
-
-
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
-
-