Interface AfterConvertCallback<T>
- All Superinterfaces:
EntityCallback<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback being invoked after a domain object is materialized from a row when reading results.
- Since:
- 1.2
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<T>
onAfterConvert
(T entity, org.springframework.data.relational.core.sql.SqlIdentifier table) Entity callback method invoked after a domain object is materialized from a row.
-
Method Details
-
onAfterConvert
org.reactivestreams.Publisher<T> onAfterConvert(T entity, org.springframework.data.relational.core.sql.SqlIdentifier table) Entity callback method invoked after a domain object is materialized from a row. Can return either the same or a modified instance of the domain object.- Parameters:
entity
- the domain object (the result of the conversion).table
- name of the table.- Returns:
- the domain object that is the result of reading it from a row.
-