Remote version of the JCR 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.
@Deprecated public interface RemoteQuery extends Remote
Query
,
ClientQuery
,
ServerQuery
Modifier and Type | Method and Description |
---|---|
void |
bindValue(String varName,
Value value)
Deprecated.
|
RemoteQueryResult |
execute()
Deprecated.
|
String[] |
getBindVariableNames()
Deprecated.
|
String |
getLanguage()
Deprecated.
|
String |
getStatement()
Deprecated.
|
String |
getStoredQueryPath()
Deprecated.
|
void |
setLimit(long limit)
Deprecated.
|
void |
setOffset(long offset)
Deprecated.
|
RemoteNode |
storeAsNode(String absPath)
Deprecated.
|
RemoteQueryResult execute() throws RepositoryException, RemoteException
QueryResult
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 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)
void bindValue(String varName, Value value) throws RepositoryException, RemoteException
varName
- name of variable in queryvalue
- value to bindRepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery.bindValue(String, Value)
String[] getBindVariableNames() throws RepositoryException, RemoteException
RepositoryException
- on repository errorsRemoteException
- on RMI errorsQuery.getBindVariableNames()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.