|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.query.lucene.MultiColumnQueryAdapter
public class MultiColumnQueryAdapter
MultiColumnQueryAdapter
adapts a lucene query to act like a
MultiColumnQuery
.
Method Summary | |
---|---|
static MultiColumnQuery |
adapt(org.apache.lucene.search.Query query,
Name selectorName)
Adapts the given query . |
MultiColumnQueryHits |
execute(JackrabbitIndexSearcher searcher,
Ordering[] orderings,
long resultFetchHint)
Executes this query and returns multi column query hits. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MultiColumnQuery adapt(org.apache.lucene.search.Query query, Name selectorName)
query
.
query
- the lucene query to adapt.selectorName
- the selector name for the query hits.
MultiColumnQuery
that wraps the given lucene query.public MultiColumnQueryHits execute(JackrabbitIndexSearcher searcher, Ordering[] orderings, long resultFetchHint) throws IOException
execute
in interface MultiColumnQuery
searcher
- the index searcher.orderings
- the orderings.resultFetchHint
- the result fetch hint.
IOException
- if an error occurs while executing the query.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |