Top Description Fields Constructors Methods
org.hibernate.sql.model.ast.builder

public Class MutationGroupBuilder

extends Object
implements SelectableConsumer
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.mapping.SelectableConsumer
Imports
java.util.ArrayList, .LinkedHashMap, .Locale, .Map, java.util.function.Consumer, org.hibernate.metamodel.mapping.SelectableConsumer, .SelectableMapping, org.hibernate.persister.entity.AbstractEntityPersister, org.hibernate.persister.entity.mutation.EntityMutationTarget, org.hibernate.sql.model.MutationType, org.hibernate.sql.model.ast.MutationGroup, .TableMutation, org.hibernate.sql.model.internal.MutationGroupNone, .MutationGroupSingle, .MutationGroupStandard

Builder (pattern) for TableMutation references
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final EntityMutationTarget
private final MutationType
private final Map<String, TableMutationBuilder<?>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
accept(int selectionIndex, SelectableMapping selectableMapping)

Implements org.hibernate.metamodel.mapping.SelectableConsumer.accept.

Accept the selectable mapping.
public void
public MutationGroup
public <B extends TableMutationBuilder<?>> B
public void
public EntityMutationTarget
public MutationType
public <B extends TableMutationBuilder<?>> B
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

mutationTargetback to summary
private final EntityMutationTarget mutationTarget
mutationTypeback to summary
private final MutationType mutationType
tableMutationBuilderMapback to summary
private final Map<String, TableMutationBuilder<?>> tableMutationBuilderMap

Constructor Detail

MutationGroupBuilderback to summary
public MutationGroupBuilder(MutationType mutationType, EntityMutationTarget mutationTarget)

Method Detail

acceptback to summary
public void accept(int selectionIndex, SelectableMapping selectableMapping)

Implements org.hibernate.metamodel.mapping.SelectableConsumer.accept.

Doc from org.hibernate.metamodel.mapping.SelectableConsumer.accept.

Accept the selectable mapping. `selectIndex` is its position, the meaning of which depends on the impl and whether SelectableMappings#forEachSelectable(SelectableConsumer) or SelectableMappings#forEachSelectable(int, SelectableConsumer) was used

Annotations
@Override
addTableDetailsBuilderback to summary
public void addTableDetailsBuilder(TableMutationBuilder<?> builder)
buildMutationGroupback to summary
public MutationGroup buildMutationGroup()
findTableDetailsBuilderback to summary
public <B extends TableMutationBuilder<?>> B findTableDetailsBuilder(String name)
forEachTableMutationBuilderback to summary
public void forEachTableMutationBuilder(Consumer<TableMutationBuilder<?>> consumer)
getMutationTargetback to summary
public EntityMutationTarget getMutationTarget()
getMutationTypeback to summary
public MutationType getMutationType()
getTableDetailsBuilderback to summary
public <B extends TableMutationBuilder<?>> B getTableDetailsBuilder(String name)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override