@FunctionalInterface public interface BeforeSaveCallback<T> extends EntityCallback<T>
EntityCallbacks| Modifier and Type | Method and Description |
|---|---|
T |
onBeforeSave(T entity,
CqlIdentifier tableName,
com.datastax.driver.core.Statement statement)
Entity callback method invoked before a domain object is saved.
|
T onBeforeSave(T entity, CqlIdentifier tableName, com.datastax.driver.core.Statement statement)
Statement contents. This method is called after converting the
entity to Statement so effectively the row is used as outcome of invoking this callback.entity - the domain object to save.tableName - name of the table.statement - Statement representing the entity operation.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.