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