Class 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 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 interface javax.jcr.query.qom.QueryObjectModel
      • getConstraint

        public javax.jcr.query.qom.Constraint getConstraint()
        Specified by:
        getConstraint in interface javax.jcr.query.qom.QueryObjectModel
      • getOrderings

        public javax.jcr.query.qom.Ordering[] getOrderings()
        Specified by:
        getOrderings in interface javax.jcr.query.qom.QueryObjectModel
      • getSource

        public javax.jcr.query.qom.Source getSource()
        Specified by:
        getSource in interface javax.jcr.query.qom.QueryObjectModel
      • getBindVariableNames

        public String[] getBindVariableNames()
                                      throws javax.jcr.RepositoryException
        Specified by:
        getBindVariableNames in interface javax.jcr.query.Query
        Throws:
        javax.jcr.RepositoryException
      • setLimit

        public void setLimit​(long limit)
        Specified by:
        setLimit in interface javax.jcr.query.Query
      • setOffset

        public void setOffset​(long offset)
        Specified by:
        setOffset in interface javax.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 interface javax.jcr.query.Query
        Throws:
        javax.jcr.RepositoryException
      • execute

        public javax.jcr.query.QueryResult execute()
                                            throws javax.jcr.RepositoryException
        Specified by:
        execute in interface javax.jcr.query.Query
        Throws:
        javax.jcr.RepositoryException
      • getLanguage

        public String getLanguage()
        Specified by:
        getLanguage in interface javax.jcr.query.Query
      • getStatement

        public String getStatement()
        Specified by:
        getStatement in interface javax.jcr.query.Query
      • getStoredQueryPath

        public String getStoredQueryPath()
                                  throws javax.jcr.RepositoryException
        Specified by:
        getStoredQueryPath in interface javax.jcr.query.Query
        Throws:
        javax.jcr.RepositoryException
      • storeAsNode

        public javax.jcr.Node storeAsNode​(String absPath)
                                   throws javax.jcr.RepositoryException
        Specified by:
        storeAsNode in interface javax.jcr.query.Query
        Throws:
        javax.jcr.RepositoryException