| Package | Description |
|---|---|
| org.neo4j.ogm.annotation.typeconversion | |
| org.neo4j.ogm.cypher | |
| org.neo4j.ogm.metadata | |
| org.neo4j.ogm.typeconversion |
| Modifier and Type | Class and Description |
|---|---|
static class |
Convert.Unset
Placeholder to allow the annotation to be applied without specifying an explicit converter implementation.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeConverter |
Filter.getPropertyConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
Filter.setPropertyConverter(AttributeConverter propertyConverter)
Deprecated.
since 3.2.3, no replacement.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeConverter |
FieldInfo.getPropertyConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
FieldInfo.setPropertyConverter(AttributeConverter<?,?> propertyConverter) |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayBase64Converter
By default the OGM will map byte[] objects to Base64
String values when being stored as a node / relationship property
|
class |
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.
|
class |
ConverterBasedCollectionConverter<T,F> |
class |
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. |
class |
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. |
class |
DateLongConverter
|
class |
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. |
class |
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.
|
class |
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.
|
class |
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.
|
class |
InstantLongConverter
|
class |
InstantStringConverter
|
class |
LocalDateStringConverter
|
class |
LocalDateTimeStringConverter
Converter to convert between
LocalDateTime and String. |
class |
NoOpByteArrayConverter
This converter is provided for convenience so that the default conversion of byte arrays (byte[]
to Base64 encoded Strings can be turned off.
|
class |
NoOpWrappedByteArrayConverter
This converter is provided for convenience so that the default conversion of byte arrays (Byte[]
to Base64 encoded Strings can be turned off.
|
class |
NumberArrayStringConverter
The NumberStringConverter can be used to convert any java object array containing values that extend
Number to and from its String array representation. |
class |
NumberCollectionStringConverter
The NumberStringConverter can be used to convert any java object collection containing values that extend
Number to and from its String array representation. |
class |
NumberStringConverter
The NumberStringConverter can be used to convert any java object that extends
Number to and from its String representation. |
class |
OffsettDateTimeStringConverter
Converter to convert between
OffsetDateTime and String. |
class |
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. |
class |
UuidStringConverter
|
| Modifier and Type | Field and Description |
|---|---|
AttributeConverter<?,?> |
AttributeConverters.forArray |
AttributeConverter<?,?> |
AttributeConverters.forScalar |
| Modifier and Type | Field and Description |
|---|---|
Function<String,AttributeConverter<?,?>> |
AttributeConverters.forIterable |
| Modifier and Type | Method and Description |
|---|---|
static AttributeConverter<?,?> |
ConvertibleTypes.getConverterBasedCollectionConverter(AttributeConverter<?,?> converter,
String collectionType) |
| Constructor and Description |
|---|
ConverterBasedCollectionConverter(Class<?> collectionClass,
AttributeConverter<T,F> converter) |
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.