Package org.hibernate.query.sqm.tree
Class AbstractSqmStatement<T>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.AbstractSqmStatement<T>
- All Implemented Interfaces:
CommonAbstractCriteria
,Serializable
,JpaCriteriaBase
,JpaCriteriaNode
,JpaCteContainer
,JpaQueryableCriteria<T>
,ParameterCollector
,SqmNode
,SqmQuery<T>
,SqmStatement<T>
,SqmVisitableNode
- Direct Known Subclasses:
AbstractSqmDmlStatement
public abstract class AbstractSqmStatement<T>
extends AbstractSqmNode
implements SqmStatement<T>, ParameterCollector
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.query.sqm.tree.SqmStatement
SqmStatement.ParameterResolutions
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractSqmStatement
(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters) AbstractSqmStatement
(SqmQuerySource querySource, NodeBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(SqmParameter<?> parameter) protected Set<SqmParameter<?>>
copyParameters
(SqmCopyContext context) Set<SqmParameter<?>>
Access to the (potentially still growing) collection of parameters for the statement.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 jakarta.persistence.criteria.CommonAbstractCriteria
subquery
Methods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
getRestriction, subquery
Methods inherited from interface org.hibernate.query.criteria.JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinct
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
Methods inherited from interface org.hibernate.query.sqm.tree.SqmStatement
copy
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, appendHqlString, toHqlString
-
Constructor Details
-
AbstractSqmStatement
-
AbstractSqmStatement
protected AbstractSqmStatement(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters)
-
-
Method Details
-
copyParameters
-
getQuerySource
- Specified by:
getQuerySource
in interfaceSqmStatement<T>
-
addParameter
- Specified by:
addParameter
in interfaceParameterCollector
-
getSqmParameters
Description copied from interface:SqmStatement
Access to the (potentially still growing) collection of parameters for the statement.- Specified by:
getSqmParameters
in interfaceSqmStatement<T>
-
resolveParameters
- Specified by:
resolveParameters
in interfaceSqmStatement<T>
-
getParameters
- Specified by:
getParameters
in interfaceCommonAbstractCriteria
-