JavaScript is disabled on your browser.
Spring Data for Apache Cassandra
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
All Superinterfaces:
org.springframework.data.mapping.callback.EntityCallback<T>
All Known Implementing Classes:
AuditingEntityCallback
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface BeforeConvertCallback<T>
extends org.springframework.data.mapping.callback.EntityCallback<T>
Callback being invoked before a domain object is converted to be persisted.
Since:
2.2
Author:
Mark Paluch
See Also:
EntityCallbacks
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
T
onBeforeConvert (T entity,
com.datastax.oss.driver.api.core.CqlIdentifier tableName)
Entity callback method invoked before a domain object is converted to be persisted.
Method Detail
onBeforeConvert
T onBeforeConvert(T entity,
com.datastax.oss.driver.api.core.CqlIdentifier tableName)
Entity callback method invoked before a domain object is converted to be persisted. Can return either the same or a
modified instance of the domain object.
Parameters:
entity
- the domain object to save.
tableName
- name of the table.
Returns:
the domain object to be persisted.
Spring Data for Apache Cassandra
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
Copyright © 2011–2023 Pivotal Software, Inc. . All rights reserved.