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,
javax.jcr.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 javax.jcr.RepositoryException, RemoteException
QueryResult
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery.execute()
void setLimit(long limit) throws RemoteException
limit
- a long
RemoteException
- on RMI errorsQuery.setLimit(long)
void setOffset(long offset) throws RemoteException
offset
- a long
RemoteException
- on RMI errorsQuery.setOffset(long)
String getStatement() throws RemoteException
RemoteException
- on RMI errorsQuery.getStatement()
String getLanguage() throws RemoteException
RemoteException
- on RMI errorsQuery.getLanguage()
String getStoredQueryPath() throws javax.jcr.RepositoryException, RemoteException
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery.getStoredQueryPath()
RemoteNode storeAsNode(String absPath) throws javax.jcr.RepositoryException, RemoteException
absPath
- path at which to persist this query.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery.storeAsNode(String)
void bindValue(String varName, javax.jcr.Value value) throws javax.jcr.RepositoryException, RemoteException
varName
- name of variable in queryvalue
- value to bindjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery.bindValue(String, Value)
String[] getBindVariableNames() throws javax.jcr.RepositoryException, RemoteException
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery.getBindVariableNames()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.