Interface SupportedMetadataColumn
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DatabaseNameMetadataColumn,OpTsMetadataColumn,OpTsMetadataColumn,OpTsMetadataColumn,SchemaNameMetadataColumn,TableNameMetadataColumn,TimestampTypeMetadataColumn
@Experimental public interface SupportedMetadataColumn extends Serializable
A metadata column that the source supports to read from the meta field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getJavaClass()The returned java class of the reader.StringgetName()Column name.DataTypegetType()The data type of this column in Flink CDC.Objectread(Map<String,String> metadata)Read the metadata from theDataChangeEvent.meta().
-
-
-
Method Detail
-
getName
String getName()
Column name.
-
getType
DataType getType()
The data type of this column in Flink CDC.
-
getJavaClass
Class<?> getJavaClass()
The returned java class of the reader.
-
read
Object read(Map<String,String> metadata)
Read the metadata from theDataChangeEvent.meta().- Parameters:
metadata- the metadata returned fromDataChangeEvent.meta()- Returns:
- the value of this metadata found by metadata name
-
-