public class ClientQuery extends ClientObject
RemoteQuery
interface. This class makes a remote query locally available using
the JCR Query
interface.Query
,
RemoteQuery
Constructor and Description |
---|
ClientQuery(Session session,
RemoteQuery remote,
LocalAdapterFactory factory)
Creates a client adapter for the given query.
|
Modifier and Type | Method and Description |
---|---|
void |
bindValue(String varName,
Value value) |
QueryResult |
execute() |
String[] |
getBindVariableNames() |
String |
getLanguage() |
String |
getStatement() |
String |
getStoredQueryPath() |
void |
setLimit(long limit) |
void |
setOffset(long offset) |
Node |
storeAsNode(String absPath) |
public ClientQuery(Session session, RemoteQuery remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote queryfactory
- adapter factorypublic QueryResult execute() throws RepositoryException
RepositoryException
public String getStatement()
public String getLanguage()
public String getStoredQueryPath() throws RepositoryException
RepositoryException
public Node storeAsNode(String absPath) throws RepositoryException
RepositoryException
public void bindValue(String varName, Value value) throws RepositoryException
RepositoryException
public String[] getBindVariableNames() throws RepositoryException
RepositoryException
public void setLimit(long limit)
public void setOffset(long offset)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"