java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
All Implemented Interfaces:
Serializable

public class BeforeDeleteEvent extends DeleteEvent
An event that is published after a delete operation.
See Also:
  • Constructor Details

    • BeforeDeleteEvent

      public BeforeDeleteEvent(List<com.google.cloud.spanner.Mutation> source, Iterable targetEntities, com.google.cloud.spanner.KeySet targetKeys, Class targetType)
      Constructor.
      Parameters:
      source - the mutations for the event initially occurred. (never null)
      targetEntities - the target entities that need to be deleted. This may be null depending on the type of delete request.
      targetKeys - the target keys that need to be deleted. This may be null depending on the type of delete request.
      targetType - the target entity type that needs to be deleted. This may be null depending on the