org.priha.query
Class QueryResultImpl

java.lang.Object
  extended by org.priha.query.QueryResultImpl
All Implemented Interfaces:
javax.jcr.query.QueryResult

public class QueryResultImpl
extends java.lang.Object
implements javax.jcr.query.QueryResult


Nested Class Summary
static class QueryResultImpl.RowImpl
           
 
Constructor Summary
QueryResultImpl(java.util.List<NodeImpl> matches, java.util.List<QName> columnNames)
           
 
Method Summary
 java.lang.String[] getColumnNames()
           
 javax.jcr.NodeIterator getNodes()
           
 javax.jcr.query.RowIterator getRows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryResultImpl

public QueryResultImpl(java.util.List<NodeImpl> matches,
                       java.util.List<QName> columnNames)
Method Detail

getColumnNames

public java.lang.String[] getColumnNames()
                                  throws javax.jcr.RepositoryException
Specified by:
getColumnNames in interface javax.jcr.query.QueryResult
Throws:
javax.jcr.RepositoryException

getNodes

public javax.jcr.NodeIterator getNodes()
                                throws javax.jcr.RepositoryException
Specified by:
getNodes in interface javax.jcr.query.QueryResult
Throws:
javax.jcr.RepositoryException

getRows

public javax.jcr.query.RowIterator getRows()
                                    throws javax.jcr.RepositoryException
Specified by:
getRows in interface javax.jcr.query.QueryResult
Throws:
javax.jcr.RepositoryException