Class ExecuteDmlEvent
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.cloud.spanner.Statement
Get the DML statement.int
hashCode()
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ExecuteDmlEvent
public ExecuteDmlEvent(com.google.cloud.spanner.Statement statement) Constructor.- Parameters:
statement
- the DML statement which is (nevernull
)
-
-
Method Details