Package io.debezium.relational.history
Interface TableChanges.TableChangesSerializer<T>
-
- Type Parameters:
T
- target type
- All Known Implementing Classes:
ConnectTableChangeSerializer
,JsonTableChangeSerializer
- Enclosing class:
- TableChanges
public static interface TableChanges.TableChangesSerializer<T>
The interface that defines conversion ofTableChanges
into a serialized format for persistent storage or delivering as a message.- Author:
- Jiri Pechanec
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TableChanges
deserialize(T data, boolean useCatalogBeforeSchema)
T
serialize(TableChanges tableChanges)
-
-
-
Method Detail
-
serialize
T serialize(TableChanges tableChanges)
-
deserialize
TableChanges deserialize(T data, boolean useCatalogBeforeSchema)
- Parameters:
useCatalogBeforeSchema
- true if the parsed string contains only 2 items and the first should be used as the catalog and the second as the table name, or false if the first should be used as the schema and the second as the table name
-
-