public class StructPropertyValueMapping extends InstancePropertyValueMapping
{
...
:entityProperties/someProperty.json {:json "{\"class\":\"StructPropertyValue\",\"instancePropertyCategory\":\"STRUCT\",\"attributes\":{\"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 |
|---|
StructPropertyValueMapping() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addStructPropertyValueToDoc(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.StructPropertyValue value)
Add the provided struct value to the Crux document.
|
static Map<String,Object> |
getStructPropertyValueForComparison(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.StructPropertyValue spv)
Convert the provided struct property value into a Crux comparable form.
|
addInstancePropertyValueToDoc, getEndsWithPropertyNameForMatching, getInstancePropertyValueFromDoc, getKeywordsForProperty, getNamesForProperty, getPropertyValueKeyword, getSerializedPropertyKeyword, getValueForComparisongetDeserializedValue, getEmbeddedSerializedForm, getKeyword, getKeywordpublic static void addStructPropertyValueToDoc(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.StructPropertyValue 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> getStructPropertyValueForComparison(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.StructPropertyValue spv)
spv - Egeria value to translate to Crux-comparable valueMap<String, Object> value that Crux can compareCopyright © 2021 ODPi. All rights reserved.