| Package | Description |
|---|---|
| io.debezium.relational |
| Modifier and Type | Method and Description |
|---|---|
protected abstract HistorizedRelationalSnapshotChangeEventSource.SnapshotContext |
HistorizedRelationalSnapshotChangeEventSource.prepare(ChangeEventSource.ChangeEventSourceContext changeEventSourceContext)
Prepares the taking of a snapshot and returns an initial
HistorizedRelationalSnapshotChangeEventSource.SnapshotContext. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
HistorizedRelationalSnapshotChangeEventSource.complete(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext)
Completes the snapshot, doing any required clean-up (resource disposal etc.).
|
protected void |
HistorizedRelationalSnapshotChangeEventSource.connectionCreated(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext)
Executes steps which have to be taken just after the database connection is created.
|
private void |
HistorizedRelationalSnapshotChangeEventSource.createDataEvents(ChangeEventSource.ChangeEventSourceContext sourceContext,
HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext) |
private void |
HistorizedRelationalSnapshotChangeEventSource.createDataEventsForTable(ChangeEventSource.ChangeEventSourceContext sourceContext,
HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext,
EventDispatcher.SnapshotReceiver snapshotReceiver,
Table table)
Dispatches the data change events for the records of a single table.
|
private void |
HistorizedRelationalSnapshotChangeEventSource.createSchemaChangeEventsForTables(ChangeEventSource.ChangeEventSourceContext sourceContext,
HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext) |
private void |
HistorizedRelationalSnapshotChangeEventSource.determineCapturedTables(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext ctx) |
protected abstract void |
HistorizedRelationalSnapshotChangeEventSource.determineSnapshotOffset(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext)
Determines the current offset (MySQL binlog position, Oracle SCN etc.), storing it into the passed context
object.
|
protected abstract Set<TableId> |
HistorizedRelationalSnapshotChangeEventSource.getAllTableIds(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext)
Returns all candidate tables; the current filter configuration will be applied to the result set, resulting in
the effective set of captured tables.
|
protected abstract ChangeRecordEmitter |
HistorizedRelationalSnapshotChangeEventSource.getChangeRecordEmitter(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext,
Object[] row)
Returns a
ChangeRecordEmitter producing the change records for the given table row. |
protected abstract SchemaChangeEvent |
HistorizedRelationalSnapshotChangeEventSource.getCreateTableEvent(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext,
Table table)
Creates a
SchemaChangeEvent representing the creation of the given table. |
protected abstract String |
HistorizedRelationalSnapshotChangeEventSource.getSnapshotSelect(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext,
TableId tableId)
Returns the SELECT statement to be used for scanning the given table
|
protected abstract void |
HistorizedRelationalSnapshotChangeEventSource.lockTablesForSchemaSnapshot(ChangeEventSource.ChangeEventSourceContext sourceContext,
HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext)
Locks all tables to be captured, so that no concurrent schema changes can be applied to them.
|
protected abstract void |
HistorizedRelationalSnapshotChangeEventSource.readTableStructure(ChangeEventSource.ChangeEventSourceContext sourceContext,
HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext)
Reads the structure of all the captured tables, writing it to
tables. |
protected abstract void |
HistorizedRelationalSnapshotChangeEventSource.releaseSchemaSnapshotLocks(HistorizedRelationalSnapshotChangeEventSource.SnapshotContext snapshotContext)
Releases all locks established in order to create a consistent schema snapshot.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.