Class GlueSchemaRegistryUtils
- java.lang.Object
-
- com.amazonaws.services.schemaregistry.utils.GlueSchemaRegistryUtils
-
public final class GlueSchemaRegistryUtils extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckIfPresentInMap(@NonNull Map<String,?> map, @NonNull String key)Check value is present in the map or not.AWSSchemaNamingStrategyconfigureSchemaNamingStrategy(Map<String,?> configs)StringgetDataFormat(Map<String,?> configs)Returns the data format.static GlueSchemaRegistryUtilsgetInstance()Thread safe singleton instance of the GlueSchemaRegistryUtils Class.StringgetSchemaName(Map<String,?> configs)Returns the schema Name.
-
-
-
Method Detail
-
getInstance
public static GlueSchemaRegistryUtils 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
public AWSSchemaNamingStrategy configureSchemaNamingStrategy(Map<String,?> configs)
-
getSchemaName
public String getSchemaName(Map<String,?> configs)
Returns the schema Name.- Parameters:
configs- map of configuration elements- Returns:
- schema Name.
-
-