Module spring.data.neo4j
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.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UnsetConverter
public UnsetConverter()
-
-
Method Details
-
write
- 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
- 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.
-