Class SerializerUtils
- java.lang.Object
-
- org.apache.flink.cdc.connectors.base.utils.SerializerUtils
-
public class SerializerUtils extends Object
Utils for serialization and deserialization.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringrowToSerializedString(Object splitBoundary)static StringrowToSerializedString(Object[] splitBoundary)static ObjectserializedStringToObject(String serialized)static Object[]serializedStringToRow(String serialized)static booleanshouldUseCatalogBeforeSchema(io.debezium.relational.TableId tableId)Check whether the catalog should be used before the schema.
-
-
-
Method Detail
-
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
-
-