Interface | Description |
---|---|
AttributeConverter<T,F> |
based on JPA AttributeConverter, but with methods
appropriate for property graphs, rather than
column stores/RDBMS.
|
CompositeAttributeConverter<T> | |
ConversionCallback |
Defines a method to be called by the underlying OGM when it needs to perform a type conversion at runtime but no explicit
AttributeConverter has been found. |
Class | Description |
---|---|
AttributeConverters |
This class serves as a holder for converters from a given type to another.
|
ByteArrayBase64Converter |
By default the OGM will map byte[] objects to Base64
String values when being stored as a node / relationship property
|
ByteArrayWrapperBase64Converter |
By default the OGM will map Byte[] wrapped byte[] objects to Base64
String values when being stored as a node / relationship property
The conversion between the primitive byte[] class and its wrapper
Byte[] means that this converter is slightly slower than
using the ByteArray64Converter, which works with primitive
byte arrays directly.
|
ConversionCallbackRegistry |
Let's do the simplest thing we possibly can to link this together.
|
ConverterBasedCollectionConverter<T,F> | |
ConvertibleTypes | |
DateArrayStringConverter |
By default the OGM will map date arrays to UTC-based ISO8601 compliant
String arrays when being stored as a node / relationship property
Users can override this behaviour for Date objects using
the appropriate annotations:
DateString.FORMAT will convert between dates and strings
using a user defined date format, e.g. |
DateCollectionStringConverter |
By default the OGM will map date collections to UTC-based ISO8601 compliant
String collections when being stored as a node / relationship property
Users can override this behaviour for Date objects using
the appropriate annotations:
DateString.FORMAT will convert between dates and strings
using a user defined date format, e.g. |
DateLongConverter | |
DateStringConverter |
By default the OGM will map date objects to UTC-based ISO8601 compliant
String values when being stored as a node / relationship property
Users can override this behaviour for Date objects using
the appropriate annotations:
DateString.FORMAT will convert between dates and strings
using a user defined date format, e.g. |
EnumArrayStringConverter |
By default the OGM will map enum arrays to and from
the string arrays with values returned by enum.name()
enum.name() is preferred to enum.ordinal() because it
is (slightly) safer: a persisted enum have to be renamed
to break its database mapping, whereas if its ordinal
was persisted instead, the mapping would be broken
simply by changing the declaration order of the enum constants.
|
EnumCollectionStringConverter |
By default the OGM will map enum collections to and from
the string collections containing values returned by enum.name()
enum.name() is preferred to enum.ordinal() because it
is (slightly) safer: a persisted enum have to be renamed
to break its database mapping, whereas if its ordinal
was persisted instead, the mapping would be broken
simply by changing the declaration order of the enum constants.
|
EnumStringConverter |
By default the OGM will map enum objects to and from
the string value returned by enum.name()
enum.name() is preferred to enum.ordinal() because it
is (slightly) safer: a persisted enum have to be renamed
to break its database mapping, whereas if its ordinal
was persisted instead, the mapping would be broken
simply by changing the declaration order of the enum constants.
|
InstantLongConverter | |
InstantStringConverter | |
LocalDateStringConverter | |
LocalDateTimeStringConverter |
Converter to convert between
LocalDateTime and String . |
MapCompositeConverter |
MapCompositeConverter converts Map field into prefixed properties of node or relationship entity.
|
NoOpByteArrayConverter |
This converter is provided for convenience so that the default conversion of byte arrays (byte[]
to Base64 encoded Strings can be turned off.
|
NoOpWrappedByteArrayConverter |
This converter is provided for convenience so that the default conversion of byte arrays (Byte[]
to Base64 encoded Strings can be turned off.
|
NumberArrayStringConverter |
The NumberStringConverter can be used to convert any java object array containing values that extend
Number to and from its String array representation. |
NumberCollectionStringConverter |
The NumberStringConverter can be used to convert any java object collection containing values that extend
Number to and from its String array representation. |
NumberStringConverter |
The NumberStringConverter can be used to convert any java object that extends
Number to and from its String representation. |
OffsettDateTimeStringConverter |
Converter to convert between
OffsetDateTime and String . |
ProxyAttributeConverter |
Proxy implementation of
AttributeConverter backed by an index to which custom generic converters
can be added after the object-graph mapping framework has been initialised. |
UuidStringConverter |
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.