Package org.hibernate.query.sqm.tree
Class AbstractSqmRestrictedDmlStatement<T>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.AbstractSqmStatement<E>
org.hibernate.query.sqm.tree.AbstractSqmDmlStatement<T>
org.hibernate.query.sqm.tree.AbstractSqmRestrictedDmlStatement<T>
- All Implemented Interfaces:
CommonAbstractCriteria
,Serializable
,JpaCriteriaBase
,JpaCriteriaNode
,JpaCteContainer
,JpaManipulationCriteria<T>
,JpaQueryableCriteria<T>
,ParameterCollector
,SqmCteContainer
,SqmDmlStatement<T>
,SqmNode
,SqmQuery<T>
,SqmStatement<T>
,SqmVisitableNode
- Direct Known Subclasses:
SqmDeleteStatement
,SqmUpdateStatement
public abstract class AbstractSqmRestrictedDmlStatement<T>
extends AbstractSqmDmlStatement<T>
implements JpaCriteriaBase
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.query.sqm.tree.SqmStatement
SqmStatement.ParameterResolutions
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractSqmRestrictedDmlStatement
(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters, Map<String, SqmCteStatement<?>> cteStatements, SqmRoot<T> target) AbstractSqmRestrictedDmlStatement
(SqmQuerySource querySource, NodeBuilder nodeBuilder) Constructor for HQL statements.AbstractSqmRestrictedDmlStatement
(SqmRoot<T> target, SqmQuerySource querySource, NodeBuilder nodeBuilder) Constructor for Criteria statements. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
applyPredicate
(SqmPredicate predicate) protected SqmWhereClause
copyWhereClause
(SqmCopyContext context) from
(EntityType<T> entity) getRoot()
protected SqmWhereClause
protected void
setWhere
(Expression<Boolean> restriction) protected void
void
setWhereClause
(SqmWhereClause whereClause) Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmDmlStatement
appendHqlCteString, copyCteStatements, getCteCriteria, getCteCriterias, getCteStatement, getCteStatements, getTarget, putAllCtes, setTarget, subquery, validate, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinct
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmStatement
addParameter, copyParameters, getQuerySource, getSqmParameters, resolveParameters
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmNode
nodeBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
subquery
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
Methods inherited from interface org.hibernate.query.sqm.tree.SqmStatement
copy, getQuerySource, getSqmParameters, resolveParameters
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, toHqlString
-
Constructor Details
-
AbstractSqmRestrictedDmlStatement
Constructor for HQL statements. -
AbstractSqmRestrictedDmlStatement
public AbstractSqmRestrictedDmlStatement(SqmRoot<T> target, SqmQuerySource querySource, NodeBuilder nodeBuilder) Constructor for Criteria statements. -
AbstractSqmRestrictedDmlStatement
protected AbstractSqmRestrictedDmlStatement(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters, Map<String, SqmCteStatement<?>> cteStatements, SqmRoot<T> target)
-
-
Method Details
-
copyWhereClause
-
from
-
from
-
getRoot
-
getWhereClause
-
applyPredicate
-
setWhereClause
-
getRestriction
- Specified by:
getRestriction
in interfaceCommonAbstractCriteria
- Specified by:
getRestriction
in interfaceJpaCriteriaBase
-
setWhere
-
initAndGetWhereClause
-
setWhere
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-