public class ClientQueryResult extends ClientObject implements javax.jcr.query.QueryResult
RemoteQueryResult
interface. This class makes a remote query result locally available using
the JCR QueryResult interface.QueryResult,
RemoteQueryResult| Constructor and Description |
|---|
ClientQueryResult(javax.jcr.Session session,
RemoteQueryResult remote,
LocalAdapterFactory factory)
Creates a client adapter for the given remote query result.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getColumnNames() |
javax.jcr.NodeIterator |
getNodes() |
javax.jcr.query.RowIterator |
getRows() |
String[] |
getSelectorNames() |
getFactory, getItem, getNode, getNodeTypeArraypublic ClientQueryResult(javax.jcr.Session session,
RemoteQueryResult remote,
LocalAdapterFactory factory)
session - current sessionremote - remote query resultfactory - adapter factorypublic String[] getColumnNames() throws javax.jcr.RepositoryException
getColumnNames in interface javax.jcr.query.QueryResultjavax.jcr.RepositoryExceptionpublic javax.jcr.query.RowIterator getRows()
throws javax.jcr.RepositoryException
getRows in interface javax.jcr.query.QueryResultjavax.jcr.RepositoryExceptionpublic javax.jcr.NodeIterator getNodes()
throws javax.jcr.RepositoryException
getNodes in interface javax.jcr.query.QueryResultjavax.jcr.RepositoryExceptionpublic String[] getSelectorNames() throws javax.jcr.RepositoryException
getSelectorNames in interface javax.jcr.query.QueryResultjavax.jcr.RepositoryExceptionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.