Class TiKVReadableMetadata


  • public class TiKVReadableMetadata
    extends Object
    Defines the supported metadata columns for TiDBTableSource.
    • Method Detail

      • getKey

        public String getKey()
      • getDataType

        public org.apache.flink.table.types.DataType getDataType()
      • createTableNameMetadata

        public static TiKVReadableMetadata createTableNameMetadata​(String tableName)
        Name of the table that contain the row.
      • createDatabaseNameMetadata

        public static TiKVReadableMetadata createDatabaseNameMetadata​(String database)
        Name of the database that contain the row.
      • createOpTsMetadata

        public static TiKVReadableMetadata createOpTsMetadata()
        It indicates the time that the change was made in the database. If the record is read from snapshot of the table instead of the change stream, the value is always 0.