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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.query.sqm.tree.SqmStatement
SqmStatement.ParameterResolutions
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSqmStatement(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters)
AbstractSqmStatement(SqmQuerySource querySource, NodeBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(SqmParameter<?> parameter)
protected Set<SqmParameter<?>>
copyParameters(SqmCopyContext context)
SqmQuerySource
getQuerySource()
Set<SqmParameter<?>>
getSqmParameters()
Access to the (potentially still growing) collection of parameters for the statement.SqmStatement.ParameterResolutions
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
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 Detail
-
AbstractSqmStatement
public AbstractSqmStatement(SqmQuerySource querySource, NodeBuilder builder)
-
AbstractSqmStatement
protected AbstractSqmStatement(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters)
-
-
Method Detail
-
copyParameters
protected Set<SqmParameter<?>> copyParameters(SqmCopyContext context)
-
getQuerySource
public SqmQuerySource getQuerySource()
- Specified by:
getQuerySource
in interfaceSqmStatement<T>
-
addParameter
public void addParameter(SqmParameter<?> parameter)
- Specified by:
addParameter
in interfaceParameterCollector
-
getSqmParameters
public Set<SqmParameter<?>> 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
public SqmStatement.ParameterResolutions resolveParameters()
- Specified by:
resolveParameters
in interfaceSqmStatement<T>
-
-