Class MultiColumnQueryResult

    • Field Detail

      • orderings

        protected final Ordering[] orderings
        The order specifier for each of the order properties.
    • Constructor Detail

      • MultiColumnQueryResult

        public MultiColumnQueryResult​(SearchIndex index,
                                      SessionContext sessionContext,
                                      AbstractQueryImpl queryImpl,
                                      MultiColumnQuery query,
                                      org.apache.jackrabbit.core.query.lucene.SpellSuggestion spellSuggestion,
                                      org.apache.jackrabbit.spi.commons.query.qom.ColumnImpl[] columns,
                                      org.apache.jackrabbit.spi.commons.query.qom.OrderingImpl[] orderings,
                                      boolean documentOrder,
                                      long offset,
                                      long limit)
                               throws RepositoryException
        Throws:
        RepositoryException
    • Method Detail

      • executeQuery

        protected MultiColumnQueryHits executeQuery​(long resultFetchHint)
                                             throws IOException
        Executes the query for this result and returns hits. The caller must close the query hits when he is done using it.
        Specified by:
        executeQuery in class QueryResultImpl
        Parameters:
        resultFetchHint - a hint on how many results should be fetched.
        Returns:
        hits for this query result.
        Throws:
        IOException - if an error occurs while executing the query.