Class AbstractSqmInsertStatement<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.insert.AbstractSqmInsertStatement<T>
-
- All Implemented Interfaces:
CommonAbstractCriteria
,Serializable
,JpaCriteriaBase
,JpaCriteriaNode
,JpaCteContainer
,JpaManipulationCriteria<T>
,JpaQueryableCriteria<T>
,ParameterCollector
,SqmCteContainer
,SqmInsertStatement<T>
,SqmDmlStatement<T>
,SqmNode
,SqmQuery<T>
,SqmStatement<T>
,SqmVisitableNode
- Direct Known Subclasses:
SqmInsertSelectStatement
,SqmInsertValuesStatement
public abstract class AbstractSqmInsertStatement<T> extends AbstractSqmDmlStatement<T> implements SqmInsertStatement<T>
Convenience base class for InsertSqmStatement implementations.- 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
AbstractSqmInsertStatement(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters, Map<String,SqmCteStatement<?>> cteStatements, SqmRoot<T> target, List<SqmPath<?>> insertionTargetPaths)
protected
AbstractSqmInsertStatement(SqmQuerySource querySource, NodeBuilder nodeBuilder)
protected
AbstractSqmInsertStatement(SqmRoot<T> targetRoot, SqmQuerySource querySource, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInsertTargetStateField(SqmPath<?> stateField)
void
appendHqlString(StringBuilder sb)
protected List<SqmPath<?>>
copyInsertionTargetPaths(SqmCopyContext context)
List<SqmPath<?>>
getInsertionTargetPaths()
void
setInsertionTargetPaths(List<SqmPath<?>> insertionTargetPaths)
void
visitInsertionTargetPaths(Consumer<SqmPath<?>> consumer)
-
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmDmlStatement
appendHqlCteString, copyCteStatements, getCteCriteria, getCteCriterias, getCteStatement, getCteStatements, getTarget, setTarget, subquery, 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
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.cte.SqmCteContainer
getCteStatement, getCteStatements
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmDmlStatement
getTarget, setTarget
-
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 Detail
-
AbstractSqmInsertStatement
protected AbstractSqmInsertStatement(SqmQuerySource querySource, NodeBuilder nodeBuilder)
-
AbstractSqmInsertStatement
protected AbstractSqmInsertStatement(SqmRoot<T> targetRoot, SqmQuerySource querySource, NodeBuilder nodeBuilder)
-
AbstractSqmInsertStatement
protected AbstractSqmInsertStatement(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters, Map<String,SqmCteStatement<?>> cteStatements, SqmRoot<T> target, List<SqmPath<?>> insertionTargetPaths)
-
-
Method Detail
-
copyInsertionTargetPaths
protected List<SqmPath<?>> copyInsertionTargetPaths(SqmCopyContext context)
-
getInsertionTargetPaths
public List<SqmPath<?>> getInsertionTargetPaths()
- Specified by:
getInsertionTargetPaths
in interfaceSqmInsertStatement<T>
-
addInsertTargetStateField
public void addInsertTargetStateField(SqmPath<?> stateField)
-
visitInsertionTargetPaths
public void visitInsertionTargetPaths(Consumer<SqmPath<?>> consumer)
- Specified by:
visitInsertionTargetPaths
in interfaceSqmInsertStatement<T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
-