public class ServerRow extends ServerObject implements RemoteRow
Row
interface.
This class makes a local session available as an RMI service using the
RemoteRow
interface.Row
,
RemoteRow
,
Serialized Formref
Constructor and Description |
---|
ServerRow(Row row,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local query row.
|
Modifier and Type | Method and Description |
---|---|
RemoteNode |
getNode() |
RemoteNode |
getNode(String selectorName) |
String |
getPath() |
String |
getPath(String selectorName) |
double |
getScore() |
double |
getScore(String selectorName) |
Value |
getValue(String propertyName) |
Value[] |
getValues() |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public ServerRow(Row row, RemoteAdapterFactory factory) throws RemoteException
row
- local query rowfactory
- remote adapter factoryRemoteException
- on RMI errorspublic Value[] getValues() throws RepositoryException, RemoteException
getValues
in interface RemoteRow
RepositoryException
- on repository errorsRemoteException
- on RMI errorsRow.getValues()
public Value getValue(String propertyName) throws RepositoryException, RemoteException
getValue
in interface RemoteRow
propertyName
- property nameRepositoryException
- on repository errorsRemoteException
- on RMI errorsRow.getValue(String)
public RemoteNode getNode() throws RepositoryException, RemoteException
getNode
in interface RemoteRow
RepositoryException
- on repository errorsRemoteException
- on RMI errorsRow.getNode()
public RemoteNode getNode(String selectorName) throws RepositoryException, RemoteException
getNode
in interface RemoteRow
RepositoryException
- on repository errorsRemoteException
- on RMI errorsRow.getNode(String)
public String getPath() throws RepositoryException, RemoteException
getPath
in interface RemoteRow
RepositoryException
- on repository errorsRemoteException
- on RMI errorsRow.getPath()
public String getPath(String selectorName) throws RepositoryException, RemoteException
getPath
in interface RemoteRow
RepositoryException
- on repository errorsRemoteException
- on RMI errorsRow.getPath(String)
public double getScore() throws RepositoryException, RemoteException
getScore
in interface RemoteRow
RepositoryException
- on repository errorsRemoteException
- on RMI errorsRow.getScore()
public double getScore(String selectorName) throws RepositoryException, RemoteException
getScore
in interface RemoteRow
RepositoryException
- on repository errorsRemoteException
- on RMI errorsRow.getScore(String)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.