Package org.hibernate.sql.model.internal
Class MutationGroupNone
- java.lang.Object
-
- org.hibernate.sql.model.internal.MutationGroupNone
-
- All Implemented Interfaces:
MutationGroup
public class MutationGroupNone extends Object implements MutationGroup
MutationGroup for cases where we have no mutations. Generally this is only used from the case of a single TableMutationBuilder
-
-
Constructor Summary
Constructors Constructor Description MutationGroupNone(MutationType mutationType, MutationTarget<?> mutationTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <O extends MutationOperation,M extends TableMutation<O>>
voidforEachTableMutation(BiConsumer<Integer,M> action)
MutationTarget<?>
getMutationTarget()
MutationType
getMutationType()
int
getNumberOfTableMutations()
TableMutation
getSingleTableMutation()
TableMutation
getTableMutation(int i)
TableMutation
getTableMutation(String tableName)
String
toString()
-
-
-
Constructor Detail
-
MutationGroupNone
public MutationGroupNone(MutationType mutationType, MutationTarget<?> mutationTarget)
-
-
Method Detail
-
getMutationType
public MutationType getMutationType()
- Specified by:
getMutationType
in interfaceMutationGroup
-
getMutationTarget
public MutationTarget<?> getMutationTarget()
- Specified by:
getMutationTarget
in interfaceMutationGroup
-
getNumberOfTableMutations
public int getNumberOfTableMutations()
- Specified by:
getNumberOfTableMutations
in interfaceMutationGroup
-
getSingleTableMutation
public TableMutation getSingleTableMutation()
- Specified by:
getSingleTableMutation
in interfaceMutationGroup
-
getTableMutation
public TableMutation getTableMutation(String tableName)
- 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
public TableMutation getTableMutation(int i)
- Specified by:
getTableMutation
in interfaceMutationGroup
-
-