Interface GraphEntityMutationTarget
- All Superinterfaces:
GraphMutationTarget<EntityTableDescriptor>
- All Known Subinterfaces:
EntityMutationTarget, EntityPersister
- All Known Implementing Classes:
AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister
@Incubating
public interface GraphEntityMutationTarget
extends GraphMutationTarget<EntityTableDescriptor>
Entity-specific mutation target for the graph-based action queue.
Provides entity table information as EntityTableDescriptor instances,
used by graph-based action decomposers for planning mutation execution.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddDiscriminatorToDelete(TableDeleteBuilder tableDeleteBuilder) Add discriminator column to the delete operation builder (for the primary table).default voidaddDiscriminatorToInsertGroup(Function<String, TableInsertBuilder> insertGroupBuilder) Add discriminator column to the insert operation buildervoidaddSoftDeleteToInsertGroup(Function<String, TableInsertBuilder> insertGroupBuilder) Add soft-delete column to the insert operation builderdefault voidbindDiscriminatorForDelete(JdbcValueBindings jdbcValueBindings) Bind discriminator value for insertdefault voidbindDiscriminatorForInsert(JdbcValueBindings jdbcValueBindings) Bind discriminator value for insertEntityActionDecomposer<org.hibernate.action.internal.EntityDeleteAction> The decomposer for DELETE actionsThe ModelPart describing the identifier/key for this targetThe table descriptor for the table containing the identifierEntityActionDecomposer<org.hibernate.action.internal.AbstractEntityInsertAction> The decomposer for INSERT actionsAll table descriptors for this entityThe ModelPart describing the mutation targetEntityActionDecomposer<org.hibernate.action.internal.EntityUpdateAction> The decomposer for UPDATE actionsMethods inherited from interface GraphMutationTarget
forEachMutableTableDescriptor, forEachMutableTableDescriptorReverse, getIdentifierTableName, getNavigableRole, getRolePath
-
Method Details
-
getTargetPart
EntityMappingType getTargetPart()Description copied from interface:GraphMutationTargetThe ModelPart describing the mutation target- Specified by:
getTargetPartin interfaceGraphMutationTarget<EntityTableDescriptor>
-
getIdentifierTableDescriptor
EntityTableDescriptor getIdentifierTableDescriptor()Description copied from interface:GraphMutationTargetThe table descriptor for the table containing the identifier- Specified by:
getIdentifierTableDescriptorin interfaceGraphMutationTarget<EntityTableDescriptor>
-
getTableDescriptors
EntityTableDescriptor[] getTableDescriptors()All table descriptors for this entity -
getIdentifierDescriptor
ModelPart getIdentifierDescriptor()The ModelPart describing the identifier/key for this target -
getInsertDecomposer
EntityActionDecomposer<org.hibernate.action.internal.AbstractEntityInsertAction> getInsertDecomposer()The decomposer for INSERT actions -
getUpdateDecomposer
EntityActionDecomposer<org.hibernate.action.internal.EntityUpdateAction> getUpdateDecomposer()The decomposer for UPDATE actions -
getDeleteDecomposer
EntityActionDecomposer<org.hibernate.action.internal.EntityDeleteAction> getDeleteDecomposer()The decomposer for DELETE actions -
addDiscriminatorToInsertGroup
Add discriminator column to the insert operation builder -
bindDiscriminatorForInsert
Bind discriminator value for insert -
addDiscriminatorToDelete
Add discriminator column to the delete operation builder (for the primary table). -
bindDiscriminatorForDelete
Bind discriminator value for insert -
addSoftDeleteToInsertGroup
Add soft-delete column to the insert operation builder
-