Class TableSchemaInfo
- java.lang.Object
-
- org.apache.flink.cdc.connectors.kafka.json.TableSchemaInfo
-
-
Constructor Summary
Constructors Constructor Description TableSchemaInfo(TableId tableId, Schema schema, org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData> serializationSchema, java.time.ZoneId zoneId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.table.data.RowDatagetRowDataFromRecordData(RecordData recordData, boolean primaryKeyOnly)convert toRowData, which will be pass to serializationSchema.SchemagetSchema()org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>getSerializationSchema()
-
-
-
Method Detail
-
getRowDataFromRecordData
public org.apache.flink.table.data.RowData getRowDataFromRecordData(RecordData recordData, boolean primaryKeyOnly)
convert toRowData, which will be pass to serializationSchema.
-
getSchema
public Schema getSchema()
-
getSerializationSchema
public org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData> getSerializationSchema()
-
-