Interface JackrabbitQueryResult

  • All Superinterfaces:
    javax.jcr.query.QueryResult

    @ProviderType
    public interface JackrabbitQueryResult
    extends javax.jcr.query.QueryResult
    The Jackrabbit query result interface. This interface contains the Jackrabbit-specific extensions to the JCR QueryResult interface.
    Since:
    Jackrabbit 2.6
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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