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

public class ReadEvent extends org.springframework.context.ApplicationEvent
An event published when entities are read from Cloud Datastore.
See Also:
  • Constructor Details

    • ReadEvent

      public ReadEvent(Iterable results)
      Constructor.
      Parameters:
      results - A list of results from the read operation where each item was mapped from a Cloud Datastore entity.
  • Method Details

    • getResults

      public Iterable getResults()
      Get the list of results from the read operation.
      Returns:
      the list of results from the read operation.