public static class CountHandler.CountType extends Object
| Constructor and Description |
|---|
CountType()
Initializes an instance of CountType.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getApproxCountLimit()
If approximate count is used, return how many results should be really iterated through to
then calculate the approximate number of further results
|
boolean |
isApproxCount()
Is approximate or exact count required
|
boolean |
isSkipChecks()
Should ACL, visibility, publication checks be skipped for the count
|
void |
setApproxCount(boolean approxCount)
Sets whether approximate or exact count is required
|
void |
setApproxCountLimit(int approxCountLimit)
Sets how many results should be iterated through before calculating approximate number of further results.
|
void |
setSkipChecks(boolean skipChecks)
Sets whether ACL, visibility, publication checks should be skipped for the count
|
public boolean isApproxCount()
public void setApproxCount(boolean approxCount)
approxCount - true for approximate count and flase for exact countpublic boolean isSkipChecks()
public void setSkipChecks(boolean skipChecks)
skipChecks - true if all checks should be skipped and false if notpublic int getApproxCountLimit()
public void setApproxCountLimit(int approxCountLimit)
approxCountLimit - how many results should be iterated through before calculating approximate number of further resultsCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.