public interface RemoteQuery
extends java.rmi.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.
javax.jcr.query.Query,
ClientQuery,
ServerQuery| Modifier and Type | Method and Description |
|---|---|
void |
bindValue(java.lang.String varName,
Value value) |
RemoteQueryResult |
execute() |
java.lang.String[] |
getBindVariableNames() |
java.lang.String |
getLanguage() |
java.lang.String |
getStatement() |
java.lang.String |
getStoredQueryPath() |
void |
setLimit(long limit) |
void |
setOffset(long offset) |
RemoteNode |
storeAsNode(java.lang.String absPath) |
RemoteQueryResult execute() throws RepositoryException, java.rmi.RemoteException
QueryResultRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#execute()void setLimit(long limit)
throws java.rmi.RemoteException
limit - a longjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#setLimit()void setOffset(long offset)
throws java.rmi.RemoteException
offset - a longjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#setOffset()java.lang.String getStatement()
throws java.rmi.RemoteException
java.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#getStatement()java.lang.String getLanguage()
throws java.rmi.RemoteException
java.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#getLanguage()java.lang.String getStoredQueryPath()
throws RepositoryException,
java.rmi.RemoteException
RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#getStoredQueryPath()RemoteNode storeAsNode(java.lang.String absPath) throws RepositoryException, java.rmi.RemoteException
absPath - path at which to persist this query.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#storeAsNode(String)void bindValue(java.lang.String varName,
Value value)
throws RepositoryException,
java.rmi.RemoteException
varName - name of variable in queryvalue - value to bindRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#bindValue(String, Value)java.lang.String[] getBindVariableNames()
throws RepositoryException,
java.rmi.RemoteException
RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjavax.jcr.query.Query#getBindVariableNames()"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"