Class AbstractJDOQLTypedQuery<T>

    • Field Detail

      • type

        protected org.datanucleus.store.query.Query.QueryType type
      • candidateCls

        protected Class candidateCls
        Candidate class for the query.
      • candidates

        protected ExpressionImpl candidates
        Candidate expression for the query
      • subclasses

        protected boolean subclasses
        Whether to include subclasses of the candidate in the query.
      • candidateAlias

        protected String candidateAlias
        Alias for the candidate of this query.
      • resultDistinct

        protected Boolean resultDistinct
        Whether the results are distinct (no dups).
      • unique

        protected boolean unique
        Whether the result is unique (single row).
      • resultClass

        protected Class resultClass
      • rangeLowerExpr

        protected ExpressionImpl rangeLowerExpr
        Range : lower limit expression.
      • rangeUpperExpr

        protected ExpressionImpl rangeUpperExpr
        Range : upper limit expression.
      • pm

        protected javax.jdo.PersistenceManager pm
      • ec

        protected org.datanucleus.ExecutionContext ec
      • compilation

        protected org.datanucleus.store.query.compiler.QueryCompilation compilation
        The generic query compilation that this equates to (cached).
      • queryString

        protected String queryString
        The single-string query that this equates to (cached).
    • Method Detail

      • discardCompiled

        protected void discardCompiled()
        Called when something is set on the query making any compilation invalid.
      • compile

        protected org.datanucleus.store.query.compiler.QueryCompilation compile​(org.datanucleus.metadata.MetaDataManager mmgr,
                                                                                org.datanucleus.ClassLoaderResolver clr)
        Method to compile the query as it is currently defined.
        Parameters:
        mmgr - Metadata manager
        clr - ClassLoader resolver
        Returns:
        The generic compilation
      • getCompilation

        public org.datanucleus.store.query.compiler.QueryCompilation getCompilation()
        Accessor for the generic compilation that this criteria query equates to.
        Returns:
        The generic compilation
      • toString

        public String toString()
        Method to return the single-string form of this JDOQL query.
        Overrides:
        toString in class Object
        Returns:
        Single-string form of the query
      • getJDOQLForExpression

        public String getJDOQLForExpression​(org.datanucleus.store.query.expression.Expression expr)