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