Class MutationGroupBuilder
- java.lang.Object
-
- org.hibernate.sql.model.ast.builder.MutationGroupBuilder
-
- All Implemented Interfaces:
SelectableConsumer
public class MutationGroupBuilder extends Object implements SelectableConsumer
Builder (pattern) forTableMutation
references
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.SelectableConsumer
SelectableConsumer.MutableSelectableMapping
-
-
Constructor Summary
Constructors Constructor Description MutationGroupBuilder(MutationType mutationType, EntityMutationTarget mutationTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(int selectionIndex, SelectableMapping selectableMapping)
Accept the selectable mapping.void
addTableDetailsBuilder(TableMutationBuilder<?> builder)
MutationGroup
buildMutationGroup()
<B extends TableMutationBuilder<?>>
BfindTableDetailsBuilder(String name)
void
forEachTableMutationBuilder(Consumer<TableMutationBuilder<?>> consumer)
EntityMutationTarget
getMutationTarget()
MutationType
getMutationType()
<B extends TableMutationBuilder<?>>
BgetTableDetailsBuilder(String name)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableConsumer
accept, accept
-
-
-
-
Constructor Detail
-
MutationGroupBuilder
public MutationGroupBuilder(MutationType mutationType, EntityMutationTarget mutationTarget)
-
-
Method Detail
-
getMutationType
public MutationType getMutationType()
-
getMutationTarget
public EntityMutationTarget getMutationTarget()
-
findTableDetailsBuilder
public <B extends TableMutationBuilder<?>> B findTableDetailsBuilder(String name)
-
getTableDetailsBuilder
public <B extends TableMutationBuilder<?>> B getTableDetailsBuilder(String name)
-
addTableDetailsBuilder
public void addTableDetailsBuilder(TableMutationBuilder<?> builder)
-
forEachTableMutationBuilder
public void forEachTableMutationBuilder(Consumer<TableMutationBuilder<?>> consumer)
-
accept
public void accept(int selectionIndex, SelectableMapping selectableMapping)
Description copied from interface:SelectableConsumer
Accept the selectable mapping. `selectIndex` is its position, the meaning of which depends on the impl and whetherSelectableMappings.forEachSelectable(SelectableConsumer)
orSelectableMappings.forEachSelectable(int, SelectableConsumer)
was used- Specified by:
accept
in interfaceSelectableConsumer
-
buildMutationGroup
public MutationGroup buildMutationGroup()
-
-