@FunctionalInterface public interface AfterConvertCallback<T> extends EntityCallback<T>
Document when reading results.EntityCallbacks| Modifier and Type | Method and Description |
|---|---|
T |
onAfterConvert(T entity,
org.bson.Document document,
String collection)
Entity callback method invoked after a domain object is materialized from a
Document. |
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.Document.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.