public class MapCompositeConverter extends Object implements CompositeAttributeConverter<Map<?,?>>
| Constructor and Description |
|---|
MapCompositeConverter(String prefix,
String delimiter,
boolean allowCast,
ParameterizedType mapFieldType)
Create MapCompositeConverter
|
| Modifier and Type | Method and Description |
|---|---|
Map<?,?> |
toEntityAttribute(Map<String,?> value) |
Map<String,?> |
toGraphProperties(Map<?,?> fieldValue) |
public MapCompositeConverter(String prefix, String delimiter, boolean allowCast, ParameterizedType mapFieldType)
prefix - prefix that is used for all propertiesdelimiter - delimiter that is used between prefix, properties and nested propertiesallowCast - if casting from non Cypher types should be allowedmapFieldType - type information for the fieldpublic Map<String,?> toGraphProperties(Map<?,?> fieldValue)
toGraphProperties in interface CompositeAttributeConverter<Map<?,?>>public Map<?,?> toEntityAttribute(Map<String,?> value)
toEntityAttribute in interface CompositeAttributeConverter<Map<?,?>>Copyright © 2018 Neo Technology, Inc.. All rights reserved.