Class AfterQueryEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.google.cloud.spring.data.datastore.core.mapping.event.ReadEvent
com.google.cloud.spring.data.datastore.core.mapping.event.AfterQueryEvent
- All Implemented Interfaces:
Serializable
An event published immediately after a read-by-query request.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAfterQueryEvent
(Iterable results, com.google.cloud.datastore.Query query) Constructor. -
Method Summary
Methods inherited from class com.google.cloud.spring.data.datastore.core.mapping.event.ReadEvent
getResults
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AfterQueryEvent
Constructor.- Parameters:
results
- A list of results from the read operation where each item was mapped from a Cloud Datastore entity.query
- The query run on Cloud Datastore.
-
-
Method Details