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 Rows to be mapped onto a given type.
Since:
2.1
Author:
Lukasz Antoniak, Mark Paluch
See Also:
  • Constructor Details

    • AfterLoadEvent

      public AfterLoadEvent(com.datastax.oss.driver.api.core.cql.Row source, Class<T> type, com.datastax.oss.driver.api.core.CqlIdentifier tableName)
      Creates a new AfterLoadEvent for the given Row, type and tableName.
      Parameters:
      source - must not be null.
      type - must not be null.
      tableName - must not be null.
  • Method Details

    • getType

      public Class<T> getType()
      Returns the type for which the AfterLoadEvent shall be invoked for.
      Returns: