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 |
|---|---|
java.lang.String[] |
getColumnNames() |
RemoteIterator |
getNodes() |
RemoteIterator |
getRows() |
java.lang.String[] |
getSelectorNames() |
clone, exportObject, exportObject, exportObject, unexportObjectpublic ServerQueryResult(QueryResult result,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
QueryResult.result - local QueryResultfactory - remote adapter factoryjava.rmi.RemoteException - on RMI errorspublic java.lang.String[] getColumnNames()
throws RepositoryException,
java.rmi.RemoteException
getColumnNames in interface RemoteQueryResultPropertyIteratorRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.QueryResult#getColumnNames()public RemoteIterator getRows() throws RepositoryException, java.rmi.RemoteException
getRows in interface RemoteQueryResultRowIteratorRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.QueryResult#getRows()public RemoteIterator getNodes() throws RepositoryException, java.rmi.RemoteException
getNodes in interface RemoteQueryResultRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.QueryResult#getNodes()public java.lang.String[] getSelectorNames()
throws RepositoryException,
java.rmi.RemoteException
getSelectorNames in interface RemoteQueryResultString array holding the selector names.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.QueryResult#getSelectorNames()"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"