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(javax.jcr.query.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() |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public ServerQueryResult(javax.jcr.query.QueryResult result, RemoteAdapterFactory factory) throws RemoteException
QueryResult
.result
- local QueryResult
factory
- remote adapter factoryRemoteException
- on RMI errorspublic String[] getColumnNames() throws javax.jcr.RepositoryException, RemoteException
getColumnNames
in interface RemoteQueryResult
PropertyIterator
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryResult.getColumnNames()
public RemoteIterator getRows() throws javax.jcr.RepositoryException, RemoteException
getRows
in interface RemoteQueryResult
RowIterator
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryResult.getRows()
public RemoteIterator getNodes() throws javax.jcr.RepositoryException, RemoteException
getNodes
in interface RemoteQueryResult
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryResult.getNodes()
public String[] getSelectorNames() throws javax.jcr.RepositoryException, RemoteException
getSelectorNames
in interface RemoteQueryResult
String
array holding the selector names.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryResult.getSelectorNames()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.