public class ServerQueryResult extends ServerObject implements RemoteQueryResult
QueryResult interface.
This class makes a local session available as an RMI service using the
RemoteQueryResult
interface.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 errorsQueryResultpublic RemoteIterator getRows() throws RepositoryException, RemoteException
getRows in interface RemoteQueryResultRowIteratorRepositoryException - on repository errorsRemoteException - on RMI errorsQueryResultpublic RemoteIterator getNodes() throws RepositoryException, RemoteException
getNodes in interface RemoteQueryResultRepositoryException - on repository errorsRemoteException - on RMI errorsQueryResultpublic String[] getSelectorNames() throws RepositoryException, RemoteException
getSelectorNames in interface RemoteQueryResultString array holding the selector names.RepositoryException - on repository errorsRemoteException - on RMI errorsQueryResult"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"