@FunctionalInterface public interface AfterLoadCallback<T> extends EntityCallback<Document>
Document is read from Elasticsearch and before it is converted into a domain
object.EntityCallbacks| Modifier and Type | Method and Description |
|---|---|
Document |
onAfterLoad(Document document,
Class<T> type,
IndexCoordinates indexCoordinates)
Entity callback method invoked after a domain object is materialized from a
Document. |
Document onAfterLoad(Document document, Class<T> type, IndexCoordinates indexCoordinates)
Document. Can return either the
same or a modified instance of the Document object.document - the document.indexCoordinates - of the index the document was read from.Document.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.