Package org.apache.jackrabbit.rmi.remote
Interface RemoteQuery
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerQuery
@Deprecated public interface RemoteQuery extends Remote
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote version of the JCR
Queryinterface. Used by theServerQueryandClientQueryadapter base classes to provide transparent RMI access to remote items.RMI errors are signaled with RemoteExceptions.
- See Also:
Query,ClientQuery,ServerQuery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidbindValue(String varName, Value value)Deprecated.RemoteQueryResultexecute()Deprecated.String[]getBindVariableNames()Deprecated.StringgetLanguage()Deprecated.StringgetStatement()Deprecated.StringgetStoredQueryPath()Deprecated.voidsetLimit(long limit)Deprecated.voidsetOffset(long offset)Deprecated.RemoteNodestoreAsNode(String absPath)Deprecated.
-
-
-
Method Detail
-
execute
RemoteQueryResult execute() throws RepositoryException, RemoteException
Deprecated.- Returns:
- a
QueryResult - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
Query.execute()
-
setLimit
void setLimit(long limit) throws RemoteExceptionDeprecated.- Parameters:
limit- along- Throws:
RemoteException- on RMI errors- See Also:
Query.setLimit(long)
-
setOffset
void setOffset(long offset) throws RemoteExceptionDeprecated.- Parameters:
offset- along- Throws:
RemoteException- on RMI errors- See Also:
Query.setOffset(long)
-
getStatement
String getStatement() throws RemoteException
Deprecated.- Returns:
- the query statement.
- Throws:
RemoteException- on RMI errors- See Also:
Query.getStatement()
-
getLanguage
String getLanguage() throws RemoteException
Deprecated.- Returns:
- the query language.
- Throws:
RemoteException- on RMI errors- See Also:
Query.getLanguage()
-
getStoredQueryPath
String getStoredQueryPath() throws RepositoryException, RemoteException
Deprecated.- Returns:
- path of the node representing this query.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
Query.getStoredQueryPath()
-
storeAsNode
RemoteNode storeAsNode(String absPath) throws RepositoryException, RemoteException
Deprecated.- Parameters:
absPath- path at which to persist this query.- Returns:
- stored node
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
Query.storeAsNode(String)
-
bindValue
void bindValue(String varName, Value value) throws RepositoryException, RemoteException
Deprecated.- Parameters:
varName- name of variable in queryvalue- value to bind- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
Query.bindValue(String, Value)
-
getBindVariableNames
String[] getBindVariableNames() throws RepositoryException, RemoteException
Deprecated.- Returns:
- the names of the bind variables in this query.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
Query.getBindVariableNames()
-
-