T - The type of the entity.@FunctionalInterface @API(status=STABLE, since="6.3.0") public interface AfterConvertCallback<T> extends EntityCallback<T>
Neo4jPersistentEntity after it has been converted:
That is, when a Neo4j record has been fully processed and the entity and all its associations have been processed.
There is no reactive variant for this callback. It is safe to use this one for both reactive and imperative workloads.
| Modifier and Type | Method and Description |
|---|---|
T |
onAfterConvert(T instance,
Neo4jPersistentEntity<T> entity,
org.neo4j.driver.types.MapAccessor source)
Invoked after converting a Neo4j record (aka after hydrating an entity).
|
T onAfterConvert(T instance, Neo4jPersistentEntity<T> entity, org.neo4j.driver.types.MapAccessor source)
instance - The instance as hydrated by the Neo4jEntityConverter.entity - The entity definitionsource - The Neo4j record that was used to hydrate the instance.Copyright © 2019–2022 Neo4j, Neo4j Sweden AB. All rights reserved.