public interface RemoteQuery extends Remote
Query
interface.
Used by the ServerQuery
and ClientQuery
adapter base classes to provide transparent RMI access to remote items.
RMI errors are signaled with RemoteExceptions.
Query
,
ClientQuery
,
ServerQuery
Modifier and Type | Method and Description |
---|---|
void |
bindValue(String varName,
Value value) |
RemoteQueryResult |
execute() |
String[] |
getBindVariableNames() |
String |
getLanguage() |
String |
getStatement() |
String |
getStoredQueryPath() |
void |
setLimit(long limit) |
void |
setOffset(long offset) |
RemoteNode |
storeAsNode(String absPath) |
RemoteQueryResult execute() throws RepositoryException, RemoteException
QueryResult
RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery
void setLimit(long limit) throws RemoteException
limit
- a long
RemoteException
- on RMI errorsQuery
void setOffset(long offset) throws RemoteException
offset
- a long
RemoteException
- on RMI errorsQuery
String getStatement() throws RemoteException
RemoteException
- on RMI errorsQuery
String getLanguage() throws RemoteException
RemoteException
- on RMI errorsQuery
String getStoredQueryPath() throws RepositoryException, RemoteException
RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery
RemoteNode storeAsNode(String absPath) throws RepositoryException, RemoteException
absPath
- path at which to persist this query.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery
void bindValue(String varName, Value value) throws RepositoryException, RemoteException
varName
- name of variable in queryvalue
- value to bindRepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery
String[] getBindVariableNames() throws RepositoryException, RemoteException
RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"