@ConsumerType public final class MockQuery extends Object implements javax.jcr.query.Query
Query
.Modifier and Type | Method and Description |
---|---|
void |
bindValue(String varName,
javax.jcr.Value value) |
javax.jcr.query.QueryResult |
execute() |
String[] |
getBindVariableNames() |
Map<String,javax.jcr.Value> |
getBindVariables() |
String |
getLanguage() |
long |
getLimit() |
long |
getOffset() |
String |
getStatement() |
String |
getStoredQueryPath() |
void |
setLimit(long limit) |
void |
setOffset(long offset) |
javax.jcr.Node |
storeAsNode(String absPath) |
public javax.jcr.query.QueryResult execute() throws javax.jcr.RepositoryException
execute
in interface javax.jcr.query.Query
javax.jcr.RepositoryException
public void setLimit(long limit)
setLimit
in interface javax.jcr.query.Query
public long getLimit() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void setOffset(long offset)
setOffset
in interface javax.jcr.query.Query
public long getOffset() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public String getStatement()
getStatement
in interface javax.jcr.query.Query
public String getLanguage()
getLanguage
in interface javax.jcr.query.Query
public void bindValue(String varName, javax.jcr.Value value) throws javax.jcr.RepositoryException
bindValue
in interface javax.jcr.query.Query
javax.jcr.RepositoryException
public String[] getBindVariableNames() throws javax.jcr.RepositoryException
getBindVariableNames
in interface javax.jcr.query.Query
javax.jcr.RepositoryException
public Map<String,javax.jcr.Value> getBindVariables() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public String getStoredQueryPath() throws javax.jcr.RepositoryException
getStoredQueryPath
in interface javax.jcr.query.Query
javax.jcr.RepositoryException
public javax.jcr.Node storeAsNode(String absPath) throws javax.jcr.RepositoryException
storeAsNode
in interface javax.jcr.query.Query
javax.jcr.RepositoryException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.