Package org.apache.jackrabbit.rmi.remote
Interface RemoteQuery
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerQuery
@Deprecated(forRemoval=true) public interface RemoteQuery extends Remote
Deprecated, for removal: This API element is subject to removal in a future version.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
Query
interface. Used by theServerQuery
andClientQuery
adapter 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 void
bindValue(String varName, Value value)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteQueryResult
execute()
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getBindVariableNames()
Deprecated, for removal: This API element is subject to removal in a future version.String
getLanguage()
Deprecated, for removal: This API element is subject to removal in a future version.String
getStatement()
Deprecated, for removal: This API element is subject to removal in a future version.String
getStoredQueryPath()
Deprecated, for removal: This API element is subject to removal in a future version.void
setLimit(long limit)
Deprecated, for removal: This API element is subject to removal in a future version.void
setOffset(long offset)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteNode
storeAsNode(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
execute
RemoteQueryResult execute() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a
QueryResult
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Query.execute()
-
setLimit
void setLimit(long limit) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
limit
- along
- Throws:
RemoteException
- on RMI errors- See Also:
Query.setLimit(long)
-
setOffset
void setOffset(long offset) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
offset
- along
- Throws:
RemoteException
- on RMI errors- See Also:
Query.setOffset(long)
-
getStatement
String getStatement() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the query statement.
- Throws:
RemoteException
- on RMI errors- See Also:
Query.getStatement()
-
getLanguage
String getLanguage() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the query language.
- Throws:
RemoteException
- on RMI errors- See Also:
Query.getLanguage()
-
getStoredQueryPath
String getStoredQueryPath() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- 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, for removal: This API element is subject to removal in a future version.- 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, for removal: This API element is subject to removal in a future version.- 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, for removal: This API element is subject to removal in a future version.- Returns:
- the names of the bind variables in this query.
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Query.getBindVariableNames()
-
-