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