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 and Description |
|---|
FilterMultiColumnQuery(MultiColumnQuery query,
Constraint constraint)
Creates a new filter multi column query for the given
query
and constraint. |
| Modifier and Type | Method and Description |
|---|---|
MultiColumnQueryHits |
execute(JackrabbitIndexSearcher searcher,
Ordering[] orderings,
long resultFetchHint)
Executes this query and returns multi column query hits.
|
public FilterMultiColumnQuery(MultiColumnQuery query, Constraint constraint)
query
and constraint.query - the query to filter.constraint - the constraint for filtering.public MultiColumnQueryHits execute(JackrabbitIndexSearcher searcher, Ordering[] orderings, long resultFetchHint) throws IOException
execute in interface MultiColumnQuerysearcher - the index searcher.orderings - the orderings.resultFetchHint - the result fetch hint.IOException - if an error occurs while executing the query.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.