Class FilterMultiColumnQuery
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.FilterMultiColumnQuery
-
- All Implemented Interfaces:
MultiColumnQuery
public class FilterMultiColumnQuery extends Object implements MultiColumnQuery
FilterMultiColumnQuery
wraps 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 givenquery
andconstraint
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiColumnQueryHits
execute(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 givenquery
andconstraint
.- 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:
execute
in 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.
-
-