org.apache.jackrabbit.core.query.lucene
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterMultiColumnQuery
public FilterMultiColumnQuery(MultiColumnQuery query,
Constraint constraint)
- Creates a new filter multi column query for the given
query
and constraint
.
- Parameters:
query
- the query to filter.constraint
- the constraint for filtering.
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 interface MultiColumnQuery
- 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.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.