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(java.lang.String varName,
Value value) |
QueryResult |
execute() |
java.lang.String[] |
getBindVariableNames() |
java.lang.String |
getLanguage() |
java.lang.String |
getStatement() |
java.lang.String |
getStoredQueryPath() |
void |
setLimit(long limit) |
void |
setOffset(long offset) |
Node |
storeAsNode(java.lang.String absPath) |
public ClientQuery(Session session,
RemoteQuery remote,
LocalAdapterFactory factory)
session - current sessionremote - remote queryfactory - adapter factorypublic QueryResult execute()
throws RepositoryException
RepositoryExceptionpublic java.lang.String getStatement()
public java.lang.String getLanguage()
public java.lang.String getStoredQueryPath()
throws RepositoryException
RepositoryExceptionpublic Node storeAsNode(java.lang.String absPath)
throws RepositoryException
RepositoryExceptionpublic void bindValue(java.lang.String varName,
Value value)
throws RepositoryException
RepositoryExceptionpublic java.lang.String[] getBindVariableNames()
throws RepositoryException
RepositoryExceptionpublic void setLimit(long limit)
public void setOffset(long offset)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"