public class ArrayPropertyValueMapping extends InstancePropertyValueMapping
{
...
:entityProperties/someProperty.json {:json "{\"class\":\"ArrayPropertyValue\",\"instancePropertyCategory\":\"ARRAY\",\"arrayValues\":{\"class\":\"InstanceProperties\",\"instanceProperties\":{\"0\":\"{\"class\":\"PrimitivePropertyValue\",\"instancePropertyCategory\":\"PRIMITIVE\",\"primitiveDefCategory\":\"OM_PRIMITIVE_TYPE_STRING\",\"primitiveValue\":\"A Simple Term\"}\"}}}"}
:entityProperties/someProperty.value ["A Simple Term"]
...
}
cruxConnector, mapper| Constructor and Description |
|---|
ArrayPropertyValueMapping() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addArrayPropertyValueToDoc(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.ArrayPropertyValue value)
Add the provided array value to the Crux document.
|
static List<Object> |
getArrayPropertyValueForComparison(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.ArrayPropertyValue apv)
Convert the provided array property value into a Crux comparable form.
|
addInstancePropertyValueToDoc, getEndsWithPropertyNameForMatching, getInstancePropertyValueFromDoc, getKeywordsForProperty, getNamesForProperty, getPropertyValueKeyword, getSerializedPropertyKeyword, getValueForComparisongetDeserializedValue, getEmbeddedSerializedForm, getKeyword, getKeywordpublic static void addArrayPropertyValueToDoc(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.ArrayPropertyValue 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 List<Object> getArrayPropertyValueForComparison(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.ArrayPropertyValue apv)
apv - Egeria value to translate to Crux-comparable valueList<Object> value that Crux can compareCopyright © 2021 ODPi. All rights reserved.