Package org.hibernate.sql.model.internal
Class MutationGroupStandard
java.lang.Object
org.hibernate.sql.model.internal.MutationGroupStandard
- All Implemented Interfaces:
MutationGroup
Standard MutationGroup implementation for cases with multiple table mutations
-
Constructor Summary
ConstructorsConstructorDescriptionMutationGroupStandard
(MutationType mutationType, MutationTarget<?> mutationTarget, List<? extends TableMutation<?>> tableMutationList) -
Method Summary
Modifier and TypeMethodDescription<O extends MutationOperation,
M extends TableMutation<O>>
voidforEachTableMutation
(BiConsumer<Integer, M> action) int
getTableMutation
(int i) getTableMutation
(String tableName)
-
Constructor Details
-
MutationGroupStandard
public MutationGroupStandard(MutationType mutationType, MutationTarget<?> mutationTarget, List<? extends TableMutation<?>> tableMutationList)
-
-
Method Details
-
getMutationType
- Specified by:
getMutationType
in interfaceMutationGroup
-
getMutationTarget
- Specified by:
getMutationTarget
in interfaceMutationGroup
-
getNumberOfTableMutations
public int getNumberOfTableMutations()- Specified by:
getNumberOfTableMutations
in interfaceMutationGroup
-
getSingleTableMutation
- Specified by:
getSingleTableMutation
in interfaceMutationGroup
-
getTableMutation
- Specified by:
getTableMutation
in interfaceMutationGroup
-
forEachTableMutation
public <O extends MutationOperation,M extends TableMutation<O>> void forEachTableMutation(BiConsumer<Integer, M> action) - Specified by:
forEachTableMutation
in interfaceMutationGroup
-
getTableMutation
- Specified by:
getTableMutation
in interfaceMutationGroup
-