Class FilterMultiColumnQuery
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.FilterMultiColumnQuery
-
- All Implemented Interfaces:
MultiColumnQuery
public class FilterMultiColumnQuery extends Object implements MultiColumnQuery
FilterMultiColumnQuerywraps a multi column query and filters out rows that do not satisfy a given constraint.
-
-
Constructor Summary
Constructors Constructor Description FilterMultiColumnQuery(MultiColumnQuery query, Constraint constraint)Creates a new filter multi column query for the givenqueryandconstraint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiColumnQueryHitsexecute(JackrabbitIndexSearcher searcher, Ordering[] orderings, long resultFetchHint)Executes this query and returns multi column query hits.
-
-
-
Constructor Detail
-
FilterMultiColumnQuery
public FilterMultiColumnQuery(MultiColumnQuery query, Constraint constraint)
Creates a new filter multi column query for the givenqueryandconstraint.- Parameters:
query- the query to filter.constraint- the constraint for filtering.
-
-
Method Detail
-
execute
public MultiColumnQueryHits execute(JackrabbitIndexSearcher searcher, Ordering[] orderings, long resultFetchHint) throws IOException
Executes this query and returns multi column query hits.- Specified by:
executein interfaceMultiColumnQuery- Parameters:
searcher- the index searcher.orderings- the orderings.resultFetchHint- the result fetch hint.- Returns:
- the query hits.
- Throws:
IOException- if an error occurs while executing the query.
-
-