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
RepositoryExceptionpublic String getStatement()
public String getLanguage()
public String getStoredQueryPath() throws RepositoryException
RepositoryExceptionpublic Node storeAsNode(String absPath) throws RepositoryException
RepositoryExceptionpublic void bindValue(String varName, Value value) throws RepositoryException
RepositoryExceptionpublic String[] getBindVariableNames() throws RepositoryException
RepositoryExceptionpublic void setLimit(long limit)
public void setOffset(long offset)
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"