Package org.hibernate.sql.model.internal
Class MutationGroupNone
java.lang.Object
org.hibernate.sql.model.internal.MutationGroupNone
- All Implemented Interfaces:
MutationGroup
MutationGroup for cases where we have no mutations. Generally
this is only used from the case of a single TableMutationBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionMutationGroupNone
(MutationType mutationType, MutationTarget<?> mutationTarget) -
Method Summary
Modifier and TypeMethodDescription<O extends MutationOperation,
M extends TableMutation<O>>
voidforEachTableMutation
(BiConsumer<Integer, M> action) int
getTableMutation
(int i) getTableMutation
(String tableName) toString()
-
Constructor Details
-
MutationGroupNone
-
-
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
-
toString
-