public class MapPropertyValueMapping extends InstancePropertyValueMapping
{
...
:entityProperties/someProperty.json {:json "{\"class\":\"MapPropertyValue\",\"instancePropertyCategory\":\"MAP\",\"mapValues\":{\"class\":\"InstanceProperties\",\"instanceProperties\":{\"key\":\"{\"class\":\"PrimitivePropertyValue\",\"instancePropertyCategory\":\"PRIMITIVE\",\"primitiveDefCategory\":\"OM_PRIMITIVE_TYPE_STRING\",\"primitiveValue\":\"A Simple Term\"}\"}}}"}
:entityProperties/someProperty.value {"key": "A Simple Term"}
...
}
cruxConnector, mapper| Constructor and Description |
|---|
MapPropertyValueMapping() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMapPropertyValueToDoc(CruxOMRSRepositoryConnector cruxConnector,
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceType instanceType,
crux.api.CruxDocument.Builder builder,
String propertyName,
String namespace,
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.MapPropertyValue value)
Add the provided map value to the Crux document.
|
static Map<String,Object> |
getMapPropertyValueForComparison(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.MapPropertyValue mpv)
Convert the provided map property value into a Crux comparable form.
|
addInstancePropertyValueToDoc, getEndsWithPropertyNameForMatching, getInstancePropertyValueFromDoc, getKeywordsForProperty, getNamesForProperty, getPropertyValueKeyword, getSerializedPropertyKeyword, getValueForComparisongetDeserializedValue, getEmbeddedSerializedForm, getKeyword, getKeywordpublic static void addMapPropertyValueToDoc(CruxOMRSRepositoryConnector cruxConnector, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceType instanceType, crux.api.CruxDocument.Builder builder, String propertyName, String namespace, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.MapPropertyValue value)
cruxConnector - connectivity to the repositoryinstanceType - of the instance for which this value appliesbuilder - to which to add the property valuepropertyName - of the propertynamespace - by which to qualify the propertyvalue - of the propertypublic static Map<String,Object> getMapPropertyValueForComparison(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.MapPropertyValue mpv)
mpv - Egeria value to translate to Crux-comparable valueMap<String, Object> value that Crux can compareCopyright © 2021 ODPi. All rights reserved.