Class RemoveCoordinatorStandard
java.lang.Object
org.hibernate.persister.collection.mutation.RemoveCoordinatorStandard
- All Implemented Interfaces:
CollectionOperationCoordinator,RemoveCoordinator
Handles complete removal of a collection by its key
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveCoordinatorStandard(CollectionMutationTarget mutationTarget, OperationProducer operationProducer, ServiceRegistry serviceRegistry) Creates the coordinator. -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllRows(Object key, SharedSessionContractImplementor session) Delete all rows based on the collection-keyThe collection being mutatedThe SQL used to perform the removaltoString()
-
Constructor Details
-
RemoveCoordinatorStandard
public RemoveCoordinatorStandard(CollectionMutationTarget mutationTarget, OperationProducer operationProducer, ServiceRegistry serviceRegistry) Creates the coordinator.- Implementation Note:
- We pass a Supplier here and lazily create the operation-group because of timing (chicken-egg) back on the persister.
-
-
Method Details
-
toString
-
getMutationTarget
Description copied from interface:CollectionOperationCoordinatorThe collection being mutated- Specified by:
getMutationTargetin interfaceCollectionOperationCoordinator
-
getSqlString
Description copied from interface:RemoveCoordinatorThe SQL used to perform the removal- Specified by:
getSqlStringin interfaceRemoveCoordinator
-