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 public class ClientQuery extends ClientObject implements Query
Deprecated.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
RemoteQueryinterface. This class makes a remote query locally available using the JCRQueryinterface.- See Also:
Query,RemoteQuery
-
-
Constructor Summary
Constructors Constructor Description ClientQuery(Session session, RemoteQuery remote, LocalAdapterFactory factory)Deprecated.Creates a client adapter for the given query.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidbindValue(String varName, Value value)Deprecated.QueryResultexecute()Deprecated.String[]getBindVariableNames()Deprecated.StringgetLanguage()Deprecated.StringgetStatement()Deprecated.StringgetStoredQueryPath()Deprecated.voidsetLimit(long limit)Deprecated.voidsetOffset(long offset)Deprecated.NodestoreAsNode(String absPath)Deprecated.-
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.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.- Specified by:
executein interfaceQuery- Throws:
RepositoryException
-
getStatement
public String getStatement()
Deprecated.- Specified by:
getStatementin interfaceQuery
-
getLanguage
public String getLanguage()
Deprecated.- Specified by:
getLanguagein interfaceQuery
-
getStoredQueryPath
public String getStoredQueryPath() throws RepositoryException
Deprecated.- Specified by:
getStoredQueryPathin interfaceQuery- Throws:
RepositoryException
-
storeAsNode
public Node storeAsNode(String absPath) throws RepositoryException
Deprecated.- Specified by:
storeAsNodein interfaceQuery- Throws:
RepositoryException
-
bindValue
public void bindValue(String varName, Value value) throws RepositoryException
Deprecated.- Specified by:
bindValuein interfaceQuery- Throws:
RepositoryException
-
getBindVariableNames
public String[] getBindVariableNames() throws RepositoryException
Deprecated.- Specified by:
getBindVariableNamesin interfaceQuery- Throws:
RepositoryException
-
-