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, TypeDefAttribute attribute) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Retrieve the attribute definition for this property.clojure.lang.Keyword
Retrieve 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 String
getEndsWithPropertyNameForMatching
(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.Keyword
Retrieve 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 String
getSearchableValueKeyword
(String namespace, String typeName, String propertyName) Retrieve the keyword to use to store a searchable value for the property.static String
getSerializedPropertyKeyword
(String namespace, String propertyName) Retrieve the keyword to use to store the serialized value of the property.int
hashCode()
toString()
-
Constructor Details
-
PropertyKeywords
public PropertyKeywords(String namespace, String typeName, String propertyName, TypeDefAttribute attribute)
-
-
Method Details
-
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()
-