T
- The type of the property to convert (the type of the actual attribute).@API(status=STABLE,
since="6.0")
public interface Neo4jPersistentPropertyConverter<T>
T
to and from values
.Modifier and Type | Method and Description |
---|---|
T |
read(org.neo4j.driver.Value source) |
org.neo4j.driver.Value |
write(T source) |
org.neo4j.driver.Value write(@Nullable T source)
source
- The value to store. We might pass null, if your converter is not able to handle that,
this is ok, we do handle null pointer exceptions
Values.NULL
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.