Class ConvertWith.UnsetConverter
java.lang.Object
org.springframework.data.neo4j.core.convert.ConvertWith.UnsetConverter
- All Implemented Interfaces:
Neo4jPersistentPropertyConverter<Object>
- Enclosing class:
ConvertWith
public static final class ConvertWith.UnsetConverter
extends Object
implements Neo4jPersistentPropertyConverter<Object>
Indicates an unset converter.
- Since:
- 6.0
- Author:
- Michael J. Simons
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UnsetConverter
public UnsetConverter()
-
-
Method Details
-
write
Description copied from interface:Neo4jPersistentPropertyConverterWrites a property to a Neo4j value.- Specified by:
writein interfaceNeo4jPersistentPropertyConverter<Object>- Parameters:
source- the value to store. We might pass null, if your converter is not able to handle that, this is ok, we do handlenull pointer exceptions- Returns:
- the converted value, never null. To represent null, use
Values.NULL
-
read
Description copied from interface:Neo4jPersistentPropertyConverterReads a property from a Neo4j value.- Specified by:
readin interfaceNeo4jPersistentPropertyConverter<Object>- Parameters:
source- the value to read, never null orValues.NULL- Returns:
- the converted value, maybe null if
sourcewas equals toValues.NULL.
-