Class PropertyKeywords
- java.lang.Object
-
- org.odpi.egeria.connectors.juxt.xtdb.cache.PropertyKeywords
-
public class PropertyKeywords extends Object
Captures the key characteristics of a property mapping.
-
-
Constructor Summary
Constructors Constructor Description PropertyKeywords(String namespace, String typeName, String propertyName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefAttribute attribute)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefAttributegetAttribute()Retrieve the attribute definition for this property.clojure.lang.KeywordgetEmbeddedKeyword()Retrieve the keyword to be used for storing embedded JSON-serialized values.StringgetEmbeddedPath()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.StringgetPropertyName()Retrieve the simple name of the property (unqualified), primarily for logging purposes.clojure.lang.KeywordgetSearchableKeyword()Retrieve the keyword to be used for storing a searchable value.StringgetSearchablePath()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()StringtoString()
-
-
-
Method Detail
-
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
public String 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
public String getSearchablePath()
Retrieve the string representation of the keyword to be used for storing a searchable value.- Returns:
- String
-
getPropertyName
public String getPropertyName()
Retrieve the simple name of the property (unqualified), primarily for logging purposes.- Returns:
- String
-
getSerializedPropertyKeyword
public static String getSerializedPropertyKeyword(String namespace, String propertyName)
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
public static String getEndsWithPropertyNameForMatching(String propertyName)
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)
-
-