Local adapter for the JCR-RMI
RemoteQuery
interface. This class makes a remote query locally available using
the JCR Query
interface.
@Deprecated public class ClientQuery extends ClientObject implements Query
Query
,
RemoteQuery
Constructor and Description |
---|
ClientQuery(Session session,
RemoteQuery remote,
LocalAdapterFactory factory)
Deprecated.
Creates a client adapter for the given query.
|
Modifier and Type | Method and Description |
---|---|
void |
bindValue(String varName,
Value value)
Deprecated.
|
QueryResult |
execute()
Deprecated.
|
String[] |
getBindVariableNames()
Deprecated.
|
String |
getLanguage()
Deprecated.
|
String |
getStatement()
Deprecated.
|
String |
getStoredQueryPath()
Deprecated.
|
void |
setLimit(long limit)
Deprecated.
|
void |
setOffset(long offset)
Deprecated.
|
Node |
storeAsNode(String absPath)
Deprecated.
|
getFactory, getItem, getNode, getNodeTypeArray
public ClientQuery(Session session, RemoteQuery remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote queryfactory
- adapter factorypublic QueryResult execute() throws RepositoryException
execute
in interface Query
RepositoryException
public String getStatement()
getStatement
in interface Query
public String getLanguage()
getLanguage
in interface Query
public String getStoredQueryPath() throws RepositoryException
getStoredQueryPath
in interface Query
RepositoryException
public Node storeAsNode(String absPath) throws RepositoryException
storeAsNode
in interface Query
RepositoryException
public void bindValue(String varName, Value value) throws RepositoryException
bindValue
in interface Query
RepositoryException
public String[] getBindVariableNames() throws RepositoryException
getBindVariableNames
in interface Query
RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.