Class SerializerUtils


  • public class SerializerUtils
    extends Object
    Utils for serialization and deserialization.
    • Method Detail

      • rowToSerializedString

        public static String rowToSerializedString​(Object[] splitBoundary)
      • rowToSerializedString

        public static String rowToSerializedString​(Object splitBoundary)
      • serializedStringToRow

        public static Object[] serializedStringToRow​(String serialized)
      • serializedStringToObject

        public static Object serializedStringToObject​(String serialized)
      • shouldUseCatalogBeforeSchema

        public static boolean shouldUseCatalogBeforeSchema​(io.debezium.relational.TableId tableId)
        Check whether the catalog should be used before the schema.
        Parameters:
        tableId - the table id
        Returns:
        false if catalog is not defined but the schema is defined; otherwise return true