public class ServerQueryResult extends ServerObject implements RemoteQueryResult
QueryResult interface.
This class makes a local session available as an RMI service using the
RemoteQueryResult
interface.javax.jcr.query.QueryResult,
RemoteQueryResult,
Serialized Form| Constructor and Description |
|---|
ServerQueryResult(QueryResult result,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local
QueryResult. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getColumnNames() |
RemoteIterator |
getNodes() |
RemoteIterator |
getRows() |
String[] |
getSelectorNames() |
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerQueryResult(QueryResult result,
RemoteAdapterFactory factory)
throws RemoteException
QueryResult.result - local QueryResultfactory - remote adapter factoryRemoteException - on RMI errorspublic String[] getColumnNames() throws RepositoryException, RemoteException
getColumnNames in interface RemoteQueryResultPropertyIteratorRepositoryException - on repository errorsRemoteException - on RMI errorsjavax.jcr.query.QueryResult#getColumnNames()public RemoteIterator getRows() throws RepositoryException, RemoteException
getRows in interface RemoteQueryResultRowIteratorRepositoryException - on repository errorsRemoteException - on RMI errorsjavax.jcr.query.QueryResult#getRows()public RemoteIterator getNodes() throws RepositoryException, RemoteException
getNodes in interface RemoteQueryResultRepositoryException - on repository errorsRemoteException - on RMI errorsjavax.jcr.query.QueryResult#getNodes()public String[] getSelectorNames() throws RepositoryException, RemoteException
getSelectorNames in interface RemoteQueryResultString array holding the selector names.RepositoryException - on repository errorsRemoteException - on RMI errorsjavax.jcr.query.QueryResult#getSelectorNames()"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"