org.apache.jackrabbit.core.query.lucene
Class MultiColumnQueryResult
java.lang.Object
org.apache.jackrabbit.core.query.lucene.QueryResultImpl
org.apache.jackrabbit.core.query.lucene.MultiColumnQueryResult
- All Implemented Interfaces:
- QueryResult
public class MultiColumnQueryResult
- extends QueryResultImpl
MultiColumnQueryResult
implements a query result that executes
a MultiColumnQuery
.
Constructor Summary |
MultiColumnQueryResult(SearchIndex index,
ItemManager itemMgr,
SessionImpl session,
AccessManager accessMgr,
AbstractQueryImpl queryImpl,
MultiColumnQuery query,
org.apache.jackrabbit.core.query.lucene.SpellSuggestion spellSuggestion,
Name[] selectProps,
Path[] orderProps,
boolean[] orderSpecs,
boolean documentOrder,
long offset,
long limit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiColumnQueryResult
public MultiColumnQueryResult(SearchIndex index,
ItemManager itemMgr,
SessionImpl session,
AccessManager accessMgr,
AbstractQueryImpl queryImpl,
MultiColumnQuery query,
org.apache.jackrabbit.core.query.lucene.SpellSuggestion spellSuggestion,
Name[] selectProps,
Path[] orderProps,
boolean[] orderSpecs,
boolean documentOrder,
long offset,
long limit)
throws RepositoryException
- Throws:
RepositoryException
executeQuery
protected MultiColumnQueryHits executeQuery(long resultFetchHint)
throws IOException
- Executes the query for this result and returns hits. The caller must
close the query hits when he is done using it.
- Specified by:
executeQuery
in class QueryResultImpl
- Parameters:
resultFetchHint
- a hint on how many results should be fetched.
- Returns:
- hits for this query result.
- Throws:
IOException
- if an error occurs while executing the query.
createExcerptProvider
protected ExcerptProvider createExcerptProvider()
throws IOException
- Creates an excerpt provider for this result set.
- Specified by:
createExcerptProvider
in class QueryResultImpl
- Returns:
- an excerpt provider.
- Throws:
IOException
- if an error occurs.
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.