public class CountHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CountHandler.CountType
Class for setting information about wanted count type
|
| Constructor and Description |
|---|
CountHandler() |
| Modifier and Type | Method and Description |
|---|---|
static CountRow |
createCountRow(long count,
boolean wasApproxLimitReached)
Wrap a count result in a fake query result row
|
static CountHandler.CountType |
hasCountFunction(Map<String,javax.jcr.query.qom.PropertyValue> columns,
org.apache.jackrabbit.core.SessionImpl session)
Checks if there is a count function in the column names and return the count type based on its parameters.
|
public static CountHandler.CountType hasCountFunction(Map<String,javax.jcr.query.qom.PropertyValue> columns, org.apache.jackrabbit.core.SessionImpl session)
columns - session - public static CountRow createCountRow(long count, boolean wasApproxLimitReached)
count - Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.