Class QueryObjectModelImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.jcr.query.qom.QueryObjectModelImpl
-
- All Implemented Interfaces:
QueryObjectModel,Query
public class QueryObjectModelImpl extends Object implements QueryObjectModel
The implementation of the corresponding JCR interface.
-
-
Constructor Summary
Constructors Constructor Description QueryObjectModelImpl(QueryManagerImpl queryManager, ValueFactory valueFactory, Source source, Constraint constraint, Ordering[] orderings, Column[] columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBindVariable(BindVariableValueImpl var)voidbindValue(String varName, Value value)voidbindVariables()QueryResultexecute()String[]getBindVariableNames()Column[]getColumns()ConstraintgetConstraint()StringgetLanguage()Ordering[]getOrderings()SourcegetSource()StringgetStatement()StringgetStoredQueryPath()ValueFactorygetValueFactory()voidsetLimit(long limit)voidsetOffset(long offset)NodestoreAsNode(String absPath)StringtoString()
-
-
-
Constructor Detail
-
QueryObjectModelImpl
public QueryObjectModelImpl(QueryManagerImpl queryManager, ValueFactory valueFactory, Source source, Constraint constraint, Ordering[] orderings, Column[] columns)
-
-
Method Detail
-
bindVariables
public void bindVariables()
-
getColumns
public Column[] getColumns()
- Specified by:
getColumnsin interfaceQueryObjectModel
-
getConstraint
public Constraint getConstraint()
- Specified by:
getConstraintin interfaceQueryObjectModel
-
getOrderings
public Ordering[] getOrderings()
- Specified by:
getOrderingsin interfaceQueryObjectModel
-
getSource
public Source getSource()
- Specified by:
getSourcein interfaceQueryObjectModel
-
getBindVariableNames
public String[] getBindVariableNames() throws RepositoryException
- Specified by:
getBindVariableNamesin interfaceQuery- Throws:
RepositoryException
-
getValueFactory
public ValueFactory getValueFactory()
-
bindValue
public void bindValue(String varName, Value value) throws RepositoryException
- Specified by:
bindValuein interfaceQuery- Throws:
RepositoryException
-
execute
public QueryResult execute() throws RepositoryException
- Specified by:
executein interfaceQuery- Throws:
RepositoryException
-
getLanguage
public String getLanguage()
- Specified by:
getLanguagein interfaceQuery
-
getStatement
public String getStatement()
- Specified by:
getStatementin interfaceQuery
-
getStoredQueryPath
public String getStoredQueryPath() throws RepositoryException
- Specified by:
getStoredQueryPathin interfaceQuery- Throws:
RepositoryException
-
storeAsNode
public Node storeAsNode(String absPath) throws RepositoryException
- Specified by:
storeAsNodein interfaceQuery- Throws:
RepositoryException
-
addBindVariable
public void addBindVariable(BindVariableValueImpl var)
-
-