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 |
|---|---|
RemoteQueryResult |
execute() |
String |
getLanguage() |
String |
getStatement() |
String |
getStoredQueryPath() |
RemoteNode |
storeAsNode(String absPath) |
RemoteQueryResult execute() throws RepositoryException, RemoteException
QueryResultRepositoryException - on repository errorsRemoteException - on RMI errorsQuery.execute()String getStatement() throws RemoteException
RemoteException - on RMI errorsQuery.getStatement()String getLanguage() throws RemoteException
RemoteException - on RMI errorsQuery.getLanguage()String getStoredQueryPath() throws RepositoryException, RemoteException
RepositoryException - on repository errorsRemoteException - on RMI errorsQuery.getStoredQueryPath()RemoteNode storeAsNode(String absPath) throws RepositoryException, RemoteException
absPath - path at which to persist this query.RepositoryException - on repository errorsRemoteException - on RMI errorsQuery.storeAsNode(String)Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.