Class SqmInsertValuesStatement<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>
org.hibernate.query.sqm.tree.insert.SqmInsertValuesStatement<T>
- All Implemented Interfaces:
CommonAbstractCriteria
,Serializable
,JpaCriteriaBase
,JpaCriteriaInsert<T>
,JpaCriteriaInsertValues<T>
,JpaCriteriaNode
,JpaCteContainer
,JpaManipulationCriteria<T>
,JpaQueryableCriteria<T>
,ParameterCollector
,SqmCteContainer
,SqmInsertStatement<T>
,SqmDmlStatement<T>
,SqmNode
,SqmQuery<T>
,SqmStatement<T>
,SqmVisitableNode
public class SqmInsertValuesStatement<T>
extends AbstractSqmInsertStatement<T>
implements JpaCriteriaInsertValues<T>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.query.sqm.tree.SqmStatement
SqmStatement.ParameterResolutions
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmInsertValuesStatement
(Class<T> targetEntity, NodeBuilder nodeBuilder) SqmInsertValuesStatement
(SqmRoot<T> targetRoot, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> X
accept
(SemanticQueryWalker<X> walker) Accept the walker per visitationvoid
copy
(SqmCopyContext context) copyWithoutValues
(SqmCopyContext context) onConflict
(JpaConflictClause<T> conflictClause) Sets the conflict clause that defines what happens when an insert violates a unique constraint.setInsertionTargetPaths
(Path<?>... insertionTargetPaths) Sets the insertion target paths.setInsertionTargetPaths
(List<? extends Path<?>> insertionTargetPaths) Sets the insertion target paths.<U> Subquery<U>
subquery
(EntityType<U> type) void
Methods inherited from class org.hibernate.query.sqm.tree.insert.AbstractSqmInsertStatement
addInsertTargetStateField, copyInsertionTargetPaths, createConflictClause, getConflictClause, getInsertionTargetPaths, onConflict, setTarget, verifyInsertTypesMatch, visitInsertionTargetPaths
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmDmlStatement
appendHqlCteString, copyCteStatements, getCteCriteria, getCteCriterias, getCteStatement, getCteStatements, getTarget, putAllCtes, 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
subquery
Methods inherited from interface org.hibernate.query.criteria.JpaCriteriaInsert
createConflictClause, onConflict
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
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
Methods inherited from interface org.hibernate.query.sqm.tree.SqmStatement
getQuerySource, getSqmParameters, resolveParameters
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
Constructor Details
-
SqmInsertValuesStatement
-
SqmInsertValuesStatement
-
-
Method Details
-
copy
-
copyWithoutValues
-
validate
- Specified by:
validate
in classAbstractSqmDmlStatement<T>
-
getValuesList
-
accept
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
subquery
- Specified by:
subquery
in interfaceCommonAbstractCriteria
-
getRestriction
- Specified by:
getRestriction
in interfaceCommonAbstractCriteria
- Specified by:
getRestriction
in interfaceJpaCriteriaBase
-
getParameters
- Specified by:
getParameters
in interfaceCommonAbstractCriteria
- Overrides:
getParameters
in classAbstractSqmStatement<T>
-
setInsertionTargetPaths
Description copied from interface:JpaCriteriaInsert
Sets the insertion target paths.- Specified by:
setInsertionTargetPaths
in interfaceJpaCriteriaInsert<T>
- Specified by:
setInsertionTargetPaths
in interfaceSqmInsertStatement<T>
- Overrides:
setInsertionTargetPaths
in classAbstractSqmInsertStatement<T>
-
setInsertionTargetPaths
public SqmInsertValuesStatement<T> setInsertionTargetPaths(List<? extends Path<?>> insertionTargetPaths) Description copied from interface:JpaCriteriaInsert
Sets the insertion target paths.- Specified by:
setInsertionTargetPaths
in interfaceJpaCriteriaInsert<T>
- Specified by:
setInsertionTargetPaths
in interfaceSqmInsertStatement<T>
- Overrides:
setInsertionTargetPaths
in classAbstractSqmInsertStatement<T>
-
values
- Specified by:
values
in interfaceJpaCriteriaInsertValues<T>
-
values
- Specified by:
values
in interfaceJpaCriteriaInsertValues<T>
-
onConflict
Description copied from interface:JpaCriteriaInsert
Sets the conflict clause that defines what happens when an insert violates a unique constraint.- Specified by:
onConflict
in interfaceJpaCriteriaInsert<T>
- Specified by:
onConflict
in interfaceJpaCriteriaInsertValues<T>
- Overrides:
onConflict
in classAbstractSqmInsertStatement<T>
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classAbstractSqmInsertStatement<T>
-