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>, org.hibernate.query.sqm.internal.ParameterCollector, SqmCacheable, SqmNode, SqmQuery<T>, SqmStatement<T>, SqmVisitableNode
- Direct Known Subclasses:
AbstractSqmDmlStatement
public abstract class AbstractSqmStatement<T>
extends AbstractSqmNode
implements SqmStatement<T>, org.hibernate.query.sqm.internal.ParameterCollector
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface SqmStatement
SqmStatement.ParameterResolutions -
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSqmStatement(NodeBuilder builder, SqmQuerySource querySource, @Nullable Set<SqmParameter<?>> parameters) AbstractSqmStatement(SqmQuerySource querySource, NodeBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(SqmParameter<?> parameter) protected @Nullable Set<SqmParameter<?>> copyParameters(SqmCopyContext context) Set<SqmParameter<?>> Access to the (potentially still growing) collection of parameters for the statement.Methods inherited from class AbstractSqmNode
nodeBuilderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommonAbstractCriteria
subqueryMethods inherited from interface JpaCriteriaBase
getRestriction, subqueryMethods inherited from interface JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinctMethods inherited from interface SqmCacheable
cacheHashCode, isCompatibleMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmStatement
copyMethods inherited from interface SqmVisitableNode
accept, appendHqlString, toHqlString
-
Constructor Details
-
AbstractSqmStatement
-
AbstractSqmStatement
protected AbstractSqmStatement(NodeBuilder builder, SqmQuerySource querySource, @Nullable Set<SqmParameter<?>> parameters)
-
-
Method Details
-
copyParameters
-
getQuerySource
- Specified by:
getQuerySourcein interfaceSqmStatement<T>
-
addParameter
- Specified by:
addParameterin interfaceorg.hibernate.query.sqm.internal.ParameterCollector
-
getSqmParameters
Description copied from interface:SqmStatementAccess to the (potentially still growing) collection of parameters for the statement.- Specified by:
getSqmParametersin interfaceSqmStatement<T>
-
resolveParameters
- Specified by:
resolveParametersin interfaceSqmStatement<T>
-
getParameters
- Specified by:
getParametersin interfaceCommonAbstractCriteria
-
generateAlias
- Specified by:
generateAliasin interfaceSqmQuery<T>
-