@FunctionalInterface public interface ReactiveAfterConvertCallback<T> extends EntityCallback<T>
Document when reading results.ReactiveEntityCallbacks| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<T> |
onAfterConvert(T entity,
org.bson.Document document,
String collection)
Entity callback method invoked after a domain object is materialized from a
Document. |
org.reactivestreams.Publisher<T> onAfterConvert(T entity, org.bson.Document document, String collection)
Document. Can return either the
same or a modified instance of the domain object.entity - the domain object (the result of the conversion).document - must not be null.collection - name of the collection.Publisher emitting the domain object that is the result of reading it from the Document.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.