Module spring.data.cassandra
Class AfterLoadEvent<T>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.cassandra.core.mapping.event.CassandraMappingEvent<com.datastax.oss.driver.api.core.cql.Row>
org.springframework.data.cassandra.core.mapping.event.AfterLoadEvent<T>
- All Implemented Interfaces:
Serializable
public class AfterLoadEvent<T>
extends CassandraMappingEvent<com.datastax.oss.driver.api.core.cql.Row>
Event to be triggered after loading
Row
s to be mapped onto a given type.- Since:
- 2.1
- Author:
- Lukasz Antoniak, Mark Paluch
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionAfterLoadEvent
(com.datastax.oss.driver.api.core.cql.Row source, Class<T> type, com.datastax.oss.driver.api.core.CqlIdentifier tableName) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns the type for which theAfterLoadEvent
shall be invoked for.Methods inherited from class org.springframework.data.cassandra.core.mapping.event.CassandraMappingEvent
getSource, getTableName
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
Method Details
-
getType
Returns the type for which theAfterLoadEvent
shall be invoked for.- Returns:
- the type for which the
AfterLoadEvent
shall be invoked for.
-