Remote adapter for the JCR QueryResult
interface.
This class makes a local session available as an RMI service using the
RemoteQueryResult
interface.
@Deprecated public class ServerQueryResult extends ServerObject implements RemoteQueryResult
QueryResult
,
RemoteQueryResult
,
Serialized Formref
Constructor and Description |
---|
ServerQueryResult(QueryResult result,
RemoteAdapterFactory factory)
Deprecated.
Creates a remote adapter for the given local
QueryResult . |
Modifier and Type | Method and Description |
---|---|
String[] |
getColumnNames()
Deprecated.
|
RemoteIterator |
getNodes()
Deprecated.
|
RemoteIterator |
getRows()
Deprecated.
|
String[] |
getSelectorNames()
Deprecated.
|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public ServerQueryResult(QueryResult result, RemoteAdapterFactory factory) throws RemoteException
QueryResult
.result
- local QueryResult
factory
- remote adapter factoryRemoteException
- on RMI errorspublic String[] getColumnNames() throws RepositoryException, RemoteException
getColumnNames
in interface RemoteQueryResult
PropertyIterator
RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryResult.getColumnNames()
public RemoteIterator getRows() throws RepositoryException, RemoteException
getRows
in interface RemoteQueryResult
RowIterator
RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryResult.getRows()
public RemoteIterator getNodes() throws RepositoryException, RemoteException
getNodes
in interface RemoteQueryResult
RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryResult.getNodes()
public String[] getSelectorNames() throws RepositoryException, RemoteException
getSelectorNames
in interface RemoteQueryResult
String
array holding the selector names.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryResult.getSelectorNames()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.