public interface EntityMapper
| Modifier and Type | Method and Description |
|---|---|
CompileContext |
map(Object entity)
Processes the given object and any of its composite persistent objects and produces Cypher queries to persist their state
in Neo4j.
|
CompileContext |
map(Object entity,
int depth)
Processes the given object and any of its composite persistent objects to the specified depth and produces Cypher queries
to persist their state in Neo4j.
|
CompileContext map(Object entity)
entity - The "root" node of the object graph to persistCompileContext object containing the statements required to persist the given object to Neo4j, along
with a representation of the changes to be made by the Cypher statements never nullNullPointerException - if invoked with nullCompileContext map(Object entity, int depth)
entity - The "root" node of the object graph to persistdepth - The number of objects away from the "root" to traverse when looking for objects to mapCompileContext object containing the statements required to persist the given object to Neo4j, along
with a representation of the changes to be made by the Cypher statements never nullNullPointerException - if invoked with nullCopyright © 2017 Neo Technology, Inc.. All rights reserved.