@ConsumerType
public final class MockQuery
extends java.lang.Object
implements javax.jcr.query.Query
Query.| Modifier and Type | Method and Description |
|---|---|
void |
bindValue(java.lang.String varName,
javax.jcr.Value value) |
javax.jcr.query.QueryResult |
execute() |
java.lang.String[] |
getBindVariableNames() |
java.util.Map<java.lang.String,javax.jcr.Value> |
getBindVariables() |
java.lang.String |
getLanguage() |
long |
getLimit() |
long |
getOffset() |
java.lang.String |
getStatement() |
java.lang.String |
getStoredQueryPath() |
void |
setLimit(long limit) |
void |
setOffset(long offset) |
javax.jcr.Node |
storeAsNode(java.lang.String absPath) |
public javax.jcr.query.QueryResult execute()
throws javax.jcr.RepositoryException
execute in interface javax.jcr.query.Queryjavax.jcr.RepositoryExceptionpublic void setLimit(long limit)
setLimit in interface javax.jcr.query.Querypublic long getLimit()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void setOffset(long offset)
setOffset in interface javax.jcr.query.Querypublic long getOffset()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic java.lang.String getStatement()
getStatement in interface javax.jcr.query.Querypublic java.lang.String getLanguage()
getLanguage in interface javax.jcr.query.Querypublic void bindValue(java.lang.String varName,
javax.jcr.Value value)
throws javax.jcr.RepositoryException
bindValue in interface javax.jcr.query.Queryjavax.jcr.RepositoryExceptionpublic java.lang.String[] getBindVariableNames()
throws javax.jcr.RepositoryException
getBindVariableNames in interface javax.jcr.query.Queryjavax.jcr.RepositoryExceptionpublic java.util.Map<java.lang.String,javax.jcr.Value> getBindVariables()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic java.lang.String getStoredQueryPath()
throws javax.jcr.RepositoryException
getStoredQueryPath in interface javax.jcr.query.Queryjavax.jcr.RepositoryExceptionpublic javax.jcr.Node storeAsNode(java.lang.String absPath)
throws javax.jcr.RepositoryException
storeAsNode in interface javax.jcr.query.Queryjavax.jcr.RepositoryExceptionCopyright © 2014–2021 wcm.io. All rights reserved.