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

public class LoadEvent extends org.springframework.context.ApplicationEvent
This event read operation on Cloud Spanner.
See Also:
  • Constructor Details

    • LoadEvent

      public LoadEvent(Iterable source)
      Constructor.
      Parameters:
      source - The entities that were read from Cloud Spanner.This is never null.
  • Method Details

    • getRetrievedEntities

      public Iterable getRetrievedEntities()
      Returns the entities that were loaded.
      Returns:
      the entities that were read from Cloud Spanner.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object