public class CriteriaDeleteImpl<T> extends AbstractManipulationCriteriaQuery<T> implements CriteriaDelete<T>
CriteriaDelete
contract.Modifier | Constructor and Description |
---|---|
protected |
CriteriaDeleteImpl(CriteriaBuilderImpl criteriaBuilder) |
Modifier and Type | Method and Description |
---|---|
protected String |
renderQuery(RenderingContext renderingContext) |
CriteriaDelete<T> |
where(Expression<Boolean> restriction)
Modify the delete query to restrict the target of the deletion
according to the specified boolean expression.
|
CriteriaDelete<T> |
where(Predicate... restrictions)
Modify the delete query to restrict the target of the deletion
according to the conjunction of the specified restriction
predicates.
|
criteriaBuilder, from, from, getRestriction, getRoot, interpret, renderRestrictions, renderRoot, setRestriction, setRestriction, subquery, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
from, from, getRoot
getRestriction, subquery
protected CriteriaDeleteImpl(CriteriaBuilderImpl criteriaBuilder)
public CriteriaDelete<T> where(Expression<Boolean> restriction)
CriteriaDelete
where
in interface CriteriaDelete<T>
restriction
- a simple or compound boolean expressionpublic CriteriaDelete<T> where(Predicate... restrictions)
CriteriaDelete
where
in interface CriteriaDelete<T>
restrictions
- zero or more restriction predicatesprotected String renderQuery(RenderingContext renderingContext)
renderQuery
in class AbstractManipulationCriteriaQuery<T>
Copyright © 2021 JBoss by Red Hat. All rights reserved.