Class CriteriaDeleteImpl<T>
- java.lang.Object
-
- org.datanucleus.api.jakarta.criteria.CriteriaDeleteImpl<T>
-
- All Implemented Interfaces:
jakarta.persistence.criteria.CommonAbstractCriteria
,jakarta.persistence.criteria.CriteriaDelete<T>
,Serializable
public class CriteriaDeleteImpl<T> extends Object implements jakarta.persistence.criteria.CriteriaDelete<T>, Serializable
Implementation of a Criteria Delete query.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CriteriaDeleteImpl(CriteriaBuilderImpl cb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
discardCompiled()
jakarta.persistence.criteria.Root<T>
from(jakarta.persistence.metamodel.EntityType<T> type)
jakarta.persistence.criteria.Root<T>
from(Class<T> cls)
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.jakarta.persistence.criteria.Predicate
getRestriction()
jakarta.persistence.criteria.Root<T>
getRoot()
<U> jakarta.persistence.criteria.Subquery<U>
subquery(Class<U> cls)
String
toString()
Method to return a single-string representation of the criteria delete query in JPQL.jakarta.persistence.criteria.CriteriaDelete<T>
where(jakarta.persistence.criteria.Expression<Boolean> expr)
jakarta.persistence.criteria.CriteriaDelete<T>
where(jakarta.persistence.criteria.Predicate... exprs)
-
-
-
Constructor Detail
-
CriteriaDeleteImpl
public CriteriaDeleteImpl(CriteriaBuilderImpl cb)
-
-
Method Detail
-
getRestriction
public jakarta.persistence.criteria.Predicate getRestriction()
- Specified by:
getRestriction
in interfacejakarta.persistence.criteria.CommonAbstractCriteria
-
subquery
public <U> jakarta.persistence.criteria.Subquery<U> subquery(Class<U> cls)
- Specified by:
subquery
in interfacejakarta.persistence.criteria.CommonAbstractCriteria
-
from
public jakarta.persistence.criteria.Root<T> from(Class<T> cls)
- Specified by:
from
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
from
public jakarta.persistence.criteria.Root<T> from(jakarta.persistence.metamodel.EntityType<T> type)
- Specified by:
from
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
getRoot
public jakarta.persistence.criteria.Root<T> getRoot()
- Specified by:
getRoot
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
where
public jakarta.persistence.criteria.CriteriaDelete<T> where(jakarta.persistence.criteria.Expression<Boolean> expr)
- Specified by:
where
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
where
public jakarta.persistence.criteria.CriteriaDelete<T> where(jakarta.persistence.criteria.Predicate... exprs)
- Specified by:
where
in interfacejakarta.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 managerclr
- 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 managerclr
- ClassLoader resolverparentSymtbl
- Parent symbol table (when this is a subquery)- Returns:
- The generic compilation
-
-