public static class SortableFacet.FacetSortSpecification extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
limit |
protected int |
offset |
| Constructor and Description |
|---|
FacetSortSpecification(FacetResultsComparator comparator,
int limit,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
FacetResultsComparator |
getComparator() |
int |
getLimit()
Get the maximum number of buckets to be returned.
|
int |
getOffset()
Get the first bucket to return, has to be used with the
limit option. |
void |
setLimit(int limit)
Set the maximum number of buckets to be returned.
|
public FacetSortSpecification(FacetResultsComparator comparator, int limit, int offset)
public FacetResultsComparator getComparator()
public int getLimit()
public void setLimit(int limit)
limit - the maximum number of bucketspublic int getOffset()
limit option.Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.