java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.google.cloud.spring.data.spanner.core.mapping.event.ExecuteDmlEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AfterExecuteDmlEvent, BeforeExecuteDmlEvent

public class ExecuteDmlEvent extends org.springframework.context.ApplicationEvent
An event holding a DML statement.
See Also:
  • Constructor Details

    • ExecuteDmlEvent

      public ExecuteDmlEvent(com.google.cloud.spanner.Statement statement)
      Constructor.
      Parameters:
      statement - the DML statement which is (never null)
  • Method Details

    • getStatement

      public com.google.cloud.spanner.Statement getStatement()
      Get the DML statement.
      Returns:
      the DML statement.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object