org.apache.jackrabbit.oak.jcr.query
Class QueryResultImpl

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

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

The implementation of the corresponding JCR interface.


Constructor Summary
QueryResultImpl(SessionContext sessionContext, org.apache.jackrabbit.oak.api.Result result)
           
 
Method Summary
 String[] getColumnNames()
           
 javax.jcr.NodeIterator getNodes()
           
 javax.jcr.query.RowIterator getRows()
           
 String[] getSelectorNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryResultImpl

public QueryResultImpl(SessionContext sessionContext,
                       org.apache.jackrabbit.oak.api.Result result)
Method Detail

getColumnNames

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

getSelectorNames

public String[] getSelectorNames()
Specified by:
getSelectorNames in interface javax.jcr.query.QueryResult

getRows

public javax.jcr.query.RowIterator getRows()
                                    throws javax.jcr.RepositoryException
Specified by:
getRows 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


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.