org.apache.jackrabbit.api.query
Interface JackrabbitQueryResult

All Superinterfaces:
QueryResult

public interface JackrabbitQueryResult
extends QueryResult

The Jackrabbit query result interface. This interface contains the Jackrabbit-specific extensions to the JCR QueryResult interface.

Since:
Jackrabbit 2.6

Method Summary
 int getTotalSize()
          Returns the total number of hits.
 
Methods inherited from interface javax.jcr.query.QueryResult
getColumnNames, getNodes, getRows, getSelectorNames
 

Method Detail

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


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.