Class CriteriaDeleteImpl<T>

  • All Implemented Interfaces:
    Serializable, javax.persistence.criteria.CommonAbstractCriteria, javax.persistence.criteria.CriteriaDelete<T>

    public class CriteriaDeleteImpl<T>
    extends Object
    implements javax.persistence.criteria.CriteriaDelete<T>, Serializable
    Implementation of a Criteria Delete query.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void discardCompiled()  
      javax.persistence.criteria.Root<T> from​(Class<T> cls)  
      javax.persistence.criteria.Root<T> from​(javax.persistence.metamodel.EntityType<T> type)  
      org.datanucleus.store.query.compiler.QueryCompilation getCompilation​(org.datanucleus.metadata.MetaDataManager mmgr, org.datanucleus.ClassLoaderResolver clr)
      Accessor for the generic compilation that this criteria query equates to.
      org.datanucleus.store.query.compiler.QueryCompilation getCompilation​(org.datanucleus.metadata.MetaDataManager mmgr, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.store.query.compiler.SymbolTable parentSymtbl)
      Accessor for the generic compilation that this criteria query equates to.
      javax.persistence.criteria.Predicate getRestriction()  
      javax.persistence.criteria.Root<T> getRoot()  
      <U> javax.persistence.criteria.Subquery<U> subquery​(Class<U> cls)  
      String toString()
      Method to return a single-string representation of the criteria delete query in JPQL.
      javax.persistence.criteria.CriteriaDelete<T> where​(javax.persistence.criteria.Expression<Boolean> expr)  
      javax.persistence.criteria.CriteriaDelete<T> where​(javax.persistence.criteria.Predicate... exprs)  
    • Method Detail

      • getRestriction

        public javax.persistence.criteria.Predicate getRestriction()
        Specified by:
        getRestriction in interface javax.persistence.criteria.CommonAbstractCriteria
      • subquery

        public <U> javax.persistence.criteria.Subquery<U> subquery​(Class<U> cls)
        Specified by:
        subquery in interface javax.persistence.criteria.CommonAbstractCriteria
      • from

        public javax.persistence.criteria.Root<T> from​(Class<T> cls)
        Specified by:
        from in interface javax.persistence.criteria.CriteriaDelete<T>
      • from

        public javax.persistence.criteria.Root<T> from​(javax.persistence.metamodel.EntityType<T> type)
        Specified by:
        from in interface javax.persistence.criteria.CriteriaDelete<T>
      • getRoot

        public javax.persistence.criteria.Root<T> getRoot()
        Specified by:
        getRoot in interface javax.persistence.criteria.CriteriaDelete<T>
      • where

        public javax.persistence.criteria.CriteriaDelete<T> where​(javax.persistence.criteria.Expression<Boolean> expr)
        Specified by:
        where in interface javax.persistence.criteria.CriteriaDelete<T>
      • where

        public javax.persistence.criteria.CriteriaDelete<T> where​(javax.persistence.criteria.Predicate... exprs)
        Specified by:
        where in interface javax.persistence.criteria.CriteriaDelete<T>
      • discardCompiled

        protected void discardCompiled()
      • getCompilation

        public org.datanucleus.store.query.compiler.QueryCompilation getCompilation​(org.datanucleus.metadata.MetaDataManager mmgr,
                                                                                    org.datanucleus.ClassLoaderResolver clr)
        Accessor for the generic compilation that this criteria query equates to.
        Parameters:
        mmgr - MetaData manager
        clr - ClassLoader resolver
        Returns:
        The generic compilation
      • getCompilation

        public org.datanucleus.store.query.compiler.QueryCompilation getCompilation​(org.datanucleus.metadata.MetaDataManager mmgr,
                                                                                    org.datanucleus.ClassLoaderResolver clr,
                                                                                    org.datanucleus.store.query.compiler.SymbolTable parentSymtbl)
        Accessor for the generic compilation that this criteria query equates to.
        Parameters:
        mmgr - Metadata manager
        clr - ClassLoader resolver
        parentSymtbl - Parent symbol table (when this is a subquery)
        Returns:
        The generic compilation
      • toString

        public String toString()
        Method to return a single-string representation of the criteria delete query in JPQL.
        Overrides:
        toString in class Object
        Returns:
        The single-string form