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 Formref| 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() |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, 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 errorsQueryResult.getColumnNames()public RemoteIterator getRows() throws RepositoryException, RemoteException
getRows in interface RemoteQueryResultRowIteratorRepositoryException - on repository errorsRemoteException - on RMI errorsQueryResult.getRows()public RemoteIterator getNodes() throws RepositoryException, RemoteException
getNodes in interface RemoteQueryResultRepositoryException - on repository errorsRemoteException - on RMI errorsQueryResult.getNodes()Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.