public class MySqlBinlogSplit extends MySqlSplit
splitId| Constructor and Description |
|---|
MySqlBinlogSplit(String splitId,
BinlogOffset startingOffset,
BinlogOffset endingOffset,
List<FinishedSnapshotSplitInfo> finishedSnapshotSplitInfos,
Map<io.debezium.relational.TableId,io.debezium.relational.history.TableChanges.TableChange> tableSchemas,
int totalFinishedSplitSize) |
MySqlBinlogSplit(String splitId,
BinlogOffset startingOffset,
BinlogOffset endingOffset,
List<FinishedSnapshotSplitInfo> finishedSnapshotSplitInfos,
Map<io.debezium.relational.TableId,io.debezium.relational.history.TableChanges.TableChange> tableSchemas,
int totalFinishedSplitSize,
boolean isSuspended) |
| Modifier and Type | Method and Description |
|---|---|
static MySqlBinlogSplit |
appendFinishedSplitInfos(MySqlBinlogSplit binlogSplit,
List<FinishedSnapshotSplitInfo> splitInfos) |
boolean |
equals(Object o) |
static MySqlBinlogSplit |
fillTableSchemas(MySqlBinlogSplit binlogSplit,
Map<io.debezium.relational.TableId,io.debezium.relational.history.TableChanges.TableChange> tableSchemas) |
BinlogOffset |
getEndingOffset() |
List<FinishedSnapshotSplitInfo> |
getFinishedSnapshotSplitInfos() |
BinlogOffset |
getStartingOffset() |
Map<io.debezium.relational.TableId,io.debezium.relational.history.TableChanges.TableChange> |
getTableSchemas() |
int |
getTotalFinishedSplitSize() |
int |
hashCode() |
boolean |
isCompletedSplit() |
boolean |
isSuspended() |
static MySqlBinlogSplit |
toNormalBinlogSplit(MySqlBinlogSplit suspendedBinlogSplit,
int totalFinishedSplitSize) |
String |
toString() |
static MySqlBinlogSplit |
toSuspendedBinlogSplit(MySqlBinlogSplit normalBinlogSplit) |
asBinlogSplit, asSnapshotSplit, isBinlogSplit, isSnapshotSplit, splitIdpublic MySqlBinlogSplit(String splitId, BinlogOffset startingOffset, BinlogOffset endingOffset, List<FinishedSnapshotSplitInfo> finishedSnapshotSplitInfos, Map<io.debezium.relational.TableId,io.debezium.relational.history.TableChanges.TableChange> tableSchemas, int totalFinishedSplitSize, boolean isSuspended)
public MySqlBinlogSplit(String splitId, BinlogOffset startingOffset, BinlogOffset endingOffset, List<FinishedSnapshotSplitInfo> finishedSnapshotSplitInfos, Map<io.debezium.relational.TableId,io.debezium.relational.history.TableChanges.TableChange> tableSchemas, int totalFinishedSplitSize)
public BinlogOffset getStartingOffset()
public BinlogOffset getEndingOffset()
public List<FinishedSnapshotSplitInfo> getFinishedSnapshotSplitInfos()
public Map<io.debezium.relational.TableId,io.debezium.relational.history.TableChanges.TableChange> getTableSchemas()
getTableSchemas in class MySqlSplitpublic int getTotalFinishedSplitSize()
public boolean isSuspended()
public boolean isCompletedSplit()
public boolean equals(Object o)
equals in class MySqlSplitpublic int hashCode()
hashCode in class MySqlSplitpublic static MySqlBinlogSplit appendFinishedSplitInfos(MySqlBinlogSplit binlogSplit, List<FinishedSnapshotSplitInfo> splitInfos)
public static MySqlBinlogSplit fillTableSchemas(MySqlBinlogSplit binlogSplit, Map<io.debezium.relational.TableId,io.debezium.relational.history.TableChanges.TableChange> tableSchemas)
public static MySqlBinlogSplit toNormalBinlogSplit(MySqlBinlogSplit suspendedBinlogSplit, int totalFinishedSplitSize)
public static MySqlBinlogSplit toSuspendedBinlogSplit(MySqlBinlogSplit normalBinlogSplit)
Copyright © 2022 The Apache Software Foundation. All rights reserved.