Top Description Fields Constructors Methods
org.hibernate.sql.model.internal

public Class MutationGroupSingle

extends Object
implements MutationGroup
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.model.ast.MutationGroup
Imports
java.util.Locale, java.util.function.BiConsumer, org.hibernate.sql.model.MutationOperation, .MutationTarget, .MutationType, org.hibernate.sql.model.ast.MutationGroup, .TableMutation

MutationGroup implementation for cases where we have a single table operation
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final MutationTarget<?>
private final MutationType
private final TableMutation<?>

Constructor Summary

AccessConstructor and Description
public
MutationGroupSingle(MutationType mutationType, MutationTarget<?> mutationTarget, TableMutation<?> tableMutation)

Method Summary

Modifier and TypeMethod and Description
public <O extends MutationOperation, M extends TableMutation<O>> void
public MutationTarget<?>
public MutationType
public int
public TableMutation<O extends MutationOperation>
public TableMutation<O extends MutationOperation>
public TableMutation<O extends MutationOperation>
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 MutationTarget<?> mutationTarget
mutationTypeback to summary
private final MutationType mutationType
tableMutationback to summary
private final TableMutation<?> tableMutation

Constructor Detail

MutationGroupSingleback to summary
public MutationGroupSingle(MutationType mutationType, MutationTarget<?> mutationTarget, TableMutation<?> tableMutation)

Method Detail

forEachTableMutationback to summary
public <O extends MutationOperation, M extends TableMutation<O>> void forEachTableMutation(BiConsumer<Integer, M> action)

Implements org.hibernate.sql.model.ast.MutationGroup.forEachTableMutation.

Annotations
@Override
getMutationTargetback to summary
public MutationTarget<?> getMutationTarget()

Implements org.hibernate.sql.model.ast.MutationGroup.getMutationTarget.

Annotations
@Override
getMutationTypeback to summary
public MutationType getMutationType()

Implements org.hibernate.sql.model.ast.MutationGroup.getMutationType.

Annotations
@Override
getNumberOfTableMutationsback to summary
public int getNumberOfTableMutations()

Implements org.hibernate.sql.model.ast.MutationGroup.getNumberOfTableMutations.

Annotations
@Override
getSingleTableMutationback to summary
public TableMutation<O extends MutationOperation> getSingleTableMutation()

Implements org.hibernate.sql.model.ast.MutationGroup.getSingleTableMutation.

Annotations
@Override
getTableMutationback to summary
public TableMutation<O extends MutationOperation> getTableMutation(String tableName)

Implements org.hibernate.sql.model.ast.MutationGroup.getTableMutation.

Annotations
@Override
getTableMutationback to summary
public TableMutation<O extends MutationOperation> getTableMutation(int i)

Implements org.hibernate.sql.model.ast.MutationGroup.getTableMutation.

Annotations
@Override
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