public class SingleColumnQueryResult extends QueryResultImpl
SingleColumnQueryResult
implements a query result that returns
a single column. That is, executes a lucene query.Modifier and Type | Field and Description |
---|---|
protected Path[] |
orderProps
The relative paths of properties to use for ordering the result set.
|
protected boolean[] |
orderSpecs
The order specifier for each of the order properties.
|
columns, docOrder, index, queryImpl, sessionContext, spellSuggestion
Constructor and Description |
---|
SingleColumnQueryResult(SearchIndex index,
SessionContext sessionContext,
AbstractQueryImpl queryImpl,
org.apache.lucene.search.Query query,
org.apache.jackrabbit.core.query.lucene.SpellSuggestion spellSuggestion,
ColumnImpl[] columns,
Path[] orderProps,
boolean[] orderSpecs,
String[] orderFuncs,
boolean documentOrder,
long offset,
long limit) |
Modifier and Type | Method and Description |
---|---|
protected ExcerptProvider |
createExcerptProvider()
Creates an excerpt provider for this result set.
|
protected MultiColumnQueryHits |
executeQuery(long resultFetchHint)
Executes the query for this result and returns hits.
|
getColumnNames, getNodes, getResults, getRows, getSelectorNames, getTotalSize, isAccessGranted
protected final Path[] orderProps
protected final boolean[] orderSpecs
public SingleColumnQueryResult(SearchIndex index, SessionContext sessionContext, AbstractQueryImpl queryImpl, org.apache.lucene.search.Query query, org.apache.jackrabbit.core.query.lucene.SpellSuggestion spellSuggestion, ColumnImpl[] columns, Path[] orderProps, boolean[] orderSpecs, String[] orderFuncs, boolean documentOrder, long offset, long limit) throws RepositoryException
RepositoryException
protected MultiColumnQueryHits executeQuery(long resultFetchHint) throws IOException
executeQuery
in class QueryResultImpl
resultFetchHint
- a hint on how many results should be fetched.IOException
- if an error occurs while executing the query.protected ExcerptProvider createExcerptProvider() throws IOException
createExcerptProvider
in class QueryResultImpl
IOException
- if an error occurs.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.