| Modifier and Type | Field and Description |
|---|---|
private Lsn |
SourceInfo.changeLsn |
private Lsn |
TxLogPosition.commitLsn |
private Lsn |
SourceInfo.commitLsn |
private Lsn |
Db2Connection.CdcEnabledTable.fromLsn |
private Lsn |
TxLogPosition.inTxLsn |
static Lsn |
Lsn.NULL |
private Lsn |
Db2ChangeTable.startLsn
A LSN from which the data in the change table are relevant
|
private Lsn |
Db2ChangeTable.stopLsn
A LSN to which the data in the change table are relevant
|
| Modifier and Type | Field and Description |
|---|---|
private io.debezium.util.BoundedConcurrentHashMap<Lsn,Instant> |
Db2Connection.lsnToInstantCache |
| Modifier and Type | Method and Description |
|---|---|
Lsn |
SourceInfo.getChangeLsn() |
Lsn |
TxLogPosition.getCommitLsn() |
Lsn |
SourceInfo.getCommitLsn() |
Lsn |
Db2Connection.CdcEnabledTable.getFromLsn() |
Lsn |
TxLogPosition.getInTxLsn() |
Lsn |
Db2Connection.getMaxLsn() |
Lsn |
Db2ChangeTable.getStartLsn() |
Lsn |
Db2ChangeTable.getStopLsn() |
Lsn |
Lsn.increment()
Return the next LSN in sequence
|
Lsn |
Db2Connection.incrementLsn(Lsn lsn)
Obtain the next available position in the database log.
|
static Lsn |
Lsn.valueOf(byte[] lsnBinary) |
static Lsn |
Lsn.valueOf(String lsnString) |
| Modifier and Type | Method and Description |
|---|---|
int |
Lsn.compareTo(Lsn o)
Enables ordering of LSNs.
|
void |
Db2Connection.getChangesForTable(io.debezium.relational.TableId tableId,
Lsn fromLsn,
Lsn toLsn,
io.debezium.jdbc.JdbcConnection.ResultSetConsumer consumer)
Provides all changes recorded by the DB2 CDC capture process for a given table.
|
void |
Db2Connection.getChangesForTables(Db2ChangeTable[] changeTables,
Lsn intervalFromLsn,
Lsn intervalToLsn,
io.debezium.jdbc.JdbcConnection.BlockingMultiResultSetConsumer consumer)
Provides all changes recorder by the DB2 CDC capture process for a set of tables.
|
Lsn |
Db2Connection.incrementLsn(Lsn lsn)
Obtain the next available position in the database log.
|
boolean |
Lsn.isBetween(Lsn from,
Lsn to)
Verifies whether the LSN falls into a LSN interval
|
Set<Db2ChangeTable> |
Db2Connection.listOfNewChangeTables(Lsn fromLsn,
Lsn toLsn) |
void |
SourceInfo.setChangeLsn(Lsn lsn) |
void |
SourceInfo.setCommitLsn(Lsn commitLsn) |
void |
Db2ChangeTable.setStopLsn(Lsn stopLsn) |
Instant |
Db2Connection.timestampOfLsn(Lsn lsn)
Map a commit LSN to a point in time when the commit happened.
|
static TxLogPosition |
TxLogPosition.valueOf(Lsn commitLsn) |
static TxLogPosition |
TxLogPosition.valueOf(Lsn commitLsn,
Lsn inTxLsn) |
| Constructor and Description |
|---|
CdcEnabledTable(String tableId,
String captureName,
Lsn fromLsn) |
Db2ChangeTable(String captureInstance,
int changeTableObjectId,
Lsn startLsn,
Lsn stopLsn) |
Db2ChangeTable(io.debezium.relational.TableId sourceTableId,
String captureInstance,
int changeTableObjectId,
Lsn startLsn,
Lsn stopLsn) |
TxLogPosition(Lsn commitLsn,
Lsn inTxLsn) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.