Class MySqlSplit

  • All Implemented Interfaces:
    org.apache.flink.api.connector.source.SourceSplit
    Direct Known Subclasses:
    MySqlBinlogSplit, MySqlSnapshotSplit

    public abstract class MySqlSplit
    extends Object
    implements org.apache.flink.api.connector.source.SourceSplit
    The split of table comes from a Table that splits by primary key.
    • Field Detail

      • splitId

        protected final String splitId
    • Constructor Detail

      • MySqlSplit

        public MySqlSplit​(String splitId)
    • Method Detail

      • isSnapshotSplit

        public final boolean isSnapshotSplit()
        Checks whether this split is a snapshot split.
      • isBinlogSplit

        public final boolean isBinlogSplit()
        Checks whether this split is a binlog split.
      • splitId

        public String splitId()
        Specified by:
        splitId in interface org.apache.flink.api.connector.source.SourceSplit
      • getTableSchemas

        public abstract Map<io.debezium.relational.TableId,​io.debezium.relational.history.TableChanges.TableChange> getTableSchemas()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object