Class ReadEvent
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of results from the read operation.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ReadEvent
Constructor.- Parameters:
results
- A list of results from the read operation where each item was mapped from a Cloud Datastore entity.
-
-
Method Details
-
getResults
Get the list of results from the read operation.- Returns:
- the list of results from the read operation.
-