Class GlueSchemaRegistryUtils
java.lang.Object
com.amazonaws.services.schemaregistry.utils.GlueSchemaRegistryUtils
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckIfPresentInMap(@NonNull Map<String, ?> map, @NonNull String key) Check value is present in the map or not.configureSchemaNamingStrategy(Map<String, ?> configs) getDataFormat(Map<String, ?> configs) Returns the data format.static GlueSchemaRegistryUtilsThread safe singleton instance of the GlueSchemaRegistryUtils Class.getSchemaName(Map<String, ?> configs) Returns the schema Name.
-
Method Details
-
getInstance
Thread safe singleton instance of the GlueSchemaRegistryUtils Class.- Returns:
- GlueSchemaRegistryUtils instance.
GlueSchemaRegistryUtils.
-
checkIfPresentInMap
public boolean checkIfPresentInMap(@NonNull @NonNull Map<String, ?> map, @NonNull @NonNull String key) Check value is present in the map or not.- Parameters:
map- map of configuration elementskey- key for checking the presence of entry in configuration map- Returns:
- true or false, if the map is empty or not.
-
configureSchemaNamingStrategy
-
getSchemaName
Returns the schema Name.- Parameters:
configs- map of configuration elements- Returns:
- schema Name.
-
getDataFormat
Returns the data format.- Parameters:
configs- map of configuration elements- Returns:
- data format.
-