Class PropertyKeywords
java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.cache.PropertyKeywords
Captures the key characteristics of a property mapping.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyKeywords(String namespace, String typeName, String propertyName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefAttribute attribute) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefAttributeRetrieve the attribute definition for this property.clojure.lang.KeywordRetrieve the keyword to be used for storing embedded JSON-serialized values.Retrieve the string representation of the keyword to be used for storing embedded JSON-serialized values.static StringgetEndsWithPropertyNameForMatching(String propertyName) Retrieve a partially-qualified property name that can be used to compare a Lucene match using ends-with.Retrieve the simple name of the property (unqualified), primarily for logging purposes.clojure.lang.KeywordRetrieve the keyword to be used for storing a searchable value.Retrieve the string representation of the keyword to be used for storing a searchable value.static StringgetSearchableValueKeyword(String namespace, String typeName, String propertyName) Retrieve the keyword to use to store a searchable value for the property.static StringgetSerializedPropertyKeyword(String namespace, String propertyName) Retrieve the keyword to use to store the serialized value of the property.inthashCode()toString()
-
Constructor Details
-
PropertyKeywords
-
-
Method Details
-
getAttribute
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefAttribute getAttribute()Retrieve the attribute definition for this property.- Returns:
- TypeDefAttribute
-
getEmbeddedKeyword
public clojure.lang.Keyword getEmbeddedKeyword()Retrieve the keyword to be used for storing embedded JSON-serialized values.- Returns:
- Keyword
-
getEmbeddedPath
Retrieve the string representation of the keyword to be used for storing embedded JSON-serialized values.- Returns:
- String
-
getSearchableKeyword
public clojure.lang.Keyword getSearchableKeyword()Retrieve the keyword to be used for storing a searchable value.- Returns:
- Keyword
-
getSearchablePath
Retrieve the string representation of the keyword to be used for storing a searchable value.- Returns:
- String
-
getPropertyName
Retrieve the simple name of the property (unqualified), primarily for logging purposes.- Returns:
- String
-
getSerializedPropertyKeyword
Retrieve the keyword to use to store the serialized value of the property.- Parameters:
namespace- by which to qualify the propertypropertyName- of the property- Returns:
- String giving the qualified keyword
-
getSearchableValueKeyword
public static String getSearchableValueKeyword(String namespace, String typeName, String propertyName) Retrieve the keyword to use to store a searchable value for the property.- Parameters:
namespace- by which to qualify the propertytypeName- by which to qualify the propertypropertyName- of the property- Returns:
- Keyword giving the qualified keyword for a searchable value
-
getEndsWithPropertyNameForMatching
Retrieve a partially-qualified property name that can be used to compare a Lucene match using ends-with.- Parameters:
propertyName- of the property to reference- Returns:
- String match-able ending to the property (without any type qualification)
-
toString
-
equals
-
hashCode
public int hashCode()
-