Package org.apache.jackrabbit.rmi.client
Class ClientQuery
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.ClientQuery
-
- All Implemented Interfaces:
Query
@Deprecated(forRemoval=true) public class ClientQuery extends ClientObject implements Query
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.Local adapter for the JCR-RMI
RemoteQuery
interface. This class makes a remote query locally available using the JCRQuery
interface.- See Also:
Query
,RemoteQuery
-
-
Constructor Summary
Constructors Constructor Description ClientQuery(Session session, RemoteQuery remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a client adapter for the given query.
-
Method Summary
All Methods Instance Methods Concrete 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.QueryResult
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.Node
storeAsNode(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientQuery
public ClientQuery(Session session, RemoteQuery remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a client adapter for the given query.- Parameters:
session
- current sessionremote
- remote queryfactory
- adapter factory
-
-
Method Detail
-
execute
public QueryResult execute() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
execute
in interfaceQuery
- Throws:
RepositoryException
-
getStatement
public String getStatement()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getStatement
in interfaceQuery
-
getLanguage
public String getLanguage()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLanguage
in interfaceQuery
-
getStoredQueryPath
public String getStoredQueryPath() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getStoredQueryPath
in interfaceQuery
- Throws:
RepositoryException
-
storeAsNode
public Node storeAsNode(String absPath) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
storeAsNode
in interfaceQuery
- Throws:
RepositoryException
-
bindValue
public void bindValue(String varName, Value value) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
bindValue
in interfaceQuery
- Throws:
RepositoryException
-
getBindVariableNames
public String[] getBindVariableNames() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getBindVariableNames
in interfaceQuery
- Throws:
RepositoryException
-
setLimit
public void setLimit(long limit)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-