org.apache.jackrabbit.core.query.lucene
Class QueryResultImpl
java.lang.Object
org.apache.jackrabbit.core.query.lucene.QueryResultImpl
- All Implemented Interfaces:
- QueryResult
- public class QueryResultImpl
- extends Object
- implements QueryResult
Implements the javax.jcr.query.QueryResult
interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryResultImpl
public QueryResultImpl(ItemManager itemMgr,
NodeId[] ids,
Float[] scores,
QName[] selectProps,
NamespaceResolver resolver,
boolean docOrder)
- Creates a new query result.
- Parameters:
itemMgr
- the item manager of the session executing the query.ids
- the Ids of the result nodes.scores
- the score values of the result nodes.selectProps
- the select properties of the query.resolver
- the namespace resolver of the session executing the query.docOrder
- if true
the result is returned in document
order.
getColumnNames
public String[] getColumnNames()
throws RepositoryException
-
- Specified by:
getColumnNames
in interface QueryResult
- Throws:
RepositoryException
getNodes
public NodeIterator getNodes()
throws RepositoryException
-
- Specified by:
getNodes
in interface QueryResult
- Throws:
RepositoryException
getRows
public RowIterator getRows()
throws RepositoryException
-
- Specified by:
getRows
in interface QueryResult
- Throws:
RepositoryException
Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.