Class GlueSchemaRegistryUtils

java.lang.Object
com.amazonaws.services.schemaregistry.utils.GlueSchemaRegistryUtils

public final class GlueSchemaRegistryUtils extends Object
  • Method Details

    • 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 elements
      key - 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.
    • getDataFormat

      public String getDataFormat(Map<String,?> configs)
      Returns the data format.
      Parameters:
      configs - map of configuration elements
      Returns:
      data format.