Package org.apache.jackrabbit.api.query
Interface JackrabbitQueryResult
- All Superinterfaces:
QueryResult
The Jackrabbit query result interface. This interface contains the
Jackrabbit-specific extensions to the JCR
QueryResult
interface.- Since:
- Jackrabbit 2.6
-
Method Summary
Methods inherited from interface javax.jcr.query.QueryResult
getColumnNames, getNodes, getRows, getSelectorNames
-
Method Details
-
getTotalSize
int getTotalSize()Returns the total number of hits. This is the number of results you would get without any limit or offset settings. This method may return-1
if the total size is unknown.- Returns:
- the total number of hits, or
-1
-