Class GlueSchemaRegistryUtils


  • public final class GlueSchemaRegistryUtils
    extends Object
    • Method Detail

      • 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.
      • 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.