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:
write
in 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:
read
in interfaceNeo4jPersistentPropertyConverter<Object>
- Parameters:
source
- The value to read, never null orValues.NULL
- Returns:
- The converted value, maybe null if
source
was equals toValues.NULL
.
-