Class QueryObjectModelImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.jcr.query.qom.QueryObjectModelImpl
-
- All Implemented Interfaces:
javax.jcr.query.qom.QueryObjectModel
,javax.jcr.query.Query
public class QueryObjectModelImpl extends Object implements javax.jcr.query.qom.QueryObjectModel
The implementation of the corresponding JCR interface.
-
-
Constructor Summary
Constructors Constructor Description QueryObjectModelImpl(QueryManagerImpl queryManager, javax.jcr.ValueFactory valueFactory, javax.jcr.query.qom.Source source, javax.jcr.query.qom.Constraint constraint, javax.jcr.query.qom.Ordering[] orderings, javax.jcr.query.qom.Column[] columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBindVariable(BindVariableValueImpl var)
void
bindValue(String varName, javax.jcr.Value value)
void
bindVariables()
javax.jcr.query.QueryResult
execute()
String[]
getBindVariableNames()
javax.jcr.query.qom.Column[]
getColumns()
javax.jcr.query.qom.Constraint
getConstraint()
String
getLanguage()
javax.jcr.query.qom.Ordering[]
getOrderings()
javax.jcr.query.qom.Source
getSource()
String
getStatement()
String
getStoredQueryPath()
javax.jcr.ValueFactory
getValueFactory()
void
setLimit(long limit)
void
setOffset(long offset)
javax.jcr.Node
storeAsNode(String absPath)
String
toString()
-
-
-
Constructor Detail
-
QueryObjectModelImpl
public QueryObjectModelImpl(QueryManagerImpl queryManager, javax.jcr.ValueFactory valueFactory, javax.jcr.query.qom.Source source, javax.jcr.query.qom.Constraint constraint, javax.jcr.query.qom.Ordering[] orderings, javax.jcr.query.qom.Column[] columns)
-
-
Method Detail
-
bindVariables
public void bindVariables()
-
getColumns
public javax.jcr.query.qom.Column[] getColumns()
- Specified by:
getColumns
in interfacejavax.jcr.query.qom.QueryObjectModel
-
getConstraint
public javax.jcr.query.qom.Constraint getConstraint()
- Specified by:
getConstraint
in interfacejavax.jcr.query.qom.QueryObjectModel
-
getOrderings
public javax.jcr.query.qom.Ordering[] getOrderings()
- Specified by:
getOrderings
in interfacejavax.jcr.query.qom.QueryObjectModel
-
getSource
public javax.jcr.query.qom.Source getSource()
- Specified by:
getSource
in interfacejavax.jcr.query.qom.QueryObjectModel
-
getBindVariableNames
public String[] getBindVariableNames() throws javax.jcr.RepositoryException
- Specified by:
getBindVariableNames
in interfacejavax.jcr.query.Query
- Throws:
javax.jcr.RepositoryException
-
setLimit
public void setLimit(long limit)
- Specified by:
setLimit
in interfacejavax.jcr.query.Query
-
setOffset
public void setOffset(long offset)
- Specified by:
setOffset
in interfacejavax.jcr.query.Query
-
getValueFactory
public javax.jcr.ValueFactory getValueFactory()
-
bindValue
public void bindValue(String varName, javax.jcr.Value value) throws javax.jcr.RepositoryException
- Specified by:
bindValue
in interfacejavax.jcr.query.Query
- Throws:
javax.jcr.RepositoryException
-
execute
public javax.jcr.query.QueryResult execute() throws javax.jcr.RepositoryException
- Specified by:
execute
in interfacejavax.jcr.query.Query
- Throws:
javax.jcr.RepositoryException
-
getLanguage
public String getLanguage()
- Specified by:
getLanguage
in interfacejavax.jcr.query.Query
-
getStatement
public String getStatement()
- Specified by:
getStatement
in interfacejavax.jcr.query.Query
-
getStoredQueryPath
public String getStoredQueryPath() throws javax.jcr.RepositoryException
- Specified by:
getStoredQueryPath
in interfacejavax.jcr.query.Query
- Throws:
javax.jcr.RepositoryException
-
storeAsNode
public javax.jcr.Node storeAsNode(String absPath) throws javax.jcr.RepositoryException
- Specified by:
storeAsNode
in interfacejavax.jcr.query.Query
- Throws:
javax.jcr.RepositoryException
-
addBindVariable
public void addBindVariable(BindVariableValueImpl var)
-
-