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
QueryResultRepositoryException - on repository errorsRemoteException - on RMI errorsQueryvoid setLimit(long limit)
throws RemoteException
limit - a longRemoteException - on RMI errorsQueryvoid setOffset(long offset)
throws RemoteException
offset - a longRemoteException - on RMI errorsQueryString getStatement() throws RemoteException
RemoteException - on RMI errorsQueryString getLanguage() throws RemoteException
RemoteException - on RMI errorsQueryString getStoredQueryPath() throws RepositoryException, RemoteException
RepositoryException - on repository errorsRemoteException - on RMI errorsQueryRemoteNode storeAsNode(String absPath) throws RepositoryException, RemoteException
absPath - path at which to persist this query.RepositoryException - on repository errorsRemoteException - on RMI errorsQueryvoid bindValue(String varName, Value value) throws RepositoryException, RemoteException
varName - name of variable in queryvalue - value to bindRepositoryException - on repository errorsRemoteException - on RMI errorsQueryString[] getBindVariableNames() throws RepositoryException, RemoteException
RepositoryException - on repository errorsRemoteException - on RMI errorsQuery"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"