@FunctionalInterface public interface ReactiveBeforeSaveCallback<T> extends EntityCallback<T>
ReactiveEntityCallbacks| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<T> |
onBeforeSave(T entity,
CqlIdentifier tableName,
com.datastax.driver.core.Statement statement)
Entity callback method invoked before a domain object is saved.
|
org.reactivestreams.Publisher<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.Publisher emitting the domain object to be persisted.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.