| Package | Description |
|---|---|
| io.debezium.relational |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RelationalSnapshotChangeEventSource.connectionCreated(RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext)
Executes steps which have to be taken just after the database connection is created.
|
private void |
RelationalSnapshotChangeEventSource.createDataEvents(ChangeEventSource.ChangeEventSourceContext sourceContext,
RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext) |
private void |
RelationalSnapshotChangeEventSource.createDataEventsForTable(ChangeEventSource.ChangeEventSourceContext sourceContext,
RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext,
EventDispatcher.SnapshotReceiver snapshotReceiver,
Table table)
Dispatches the data change events for the records of a single table.
|
private void |
RelationalSnapshotChangeEventSource.createSchemaChangeEventsForTables(ChangeEventSource.ChangeEventSourceContext sourceContext,
RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext,
AbstractSnapshotChangeEventSource.SnapshottingTask snapshottingTask) |
private void |
RelationalSnapshotChangeEventSource.determineCapturedTables(RelationalSnapshotChangeEventSource.RelationalSnapshotContext ctx) |
protected abstract void |
RelationalSnapshotChangeEventSource.determineSnapshotOffset(RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext)
Determines the current offset (MySQL binlog position, Oracle SCN etc.), storing it into the passed context
object.
|
protected abstract Set<TableId> |
RelationalSnapshotChangeEventSource.getAllTableIds(RelationalSnapshotChangeEventSource.RelationalSnapshotContext 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 SchemaChangeEvent |
RelationalSnapshotChangeEventSource.getCreateTableEvent(RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext,
Table table)
Creates a
SchemaChangeEvent representing the creation of the given table. |
protected abstract void |
RelationalSnapshotChangeEventSource.lockTablesForSchemaSnapshot(ChangeEventSource.ChangeEventSourceContext sourceContext,
RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext)
Locks all tables to be captured, so that no concurrent schema changes can be applied to them.
|
protected abstract void |
RelationalSnapshotChangeEventSource.readTableStructure(ChangeEventSource.ChangeEventSourceContext sourceContext,
RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext)
Reads the structure of all the captured tables, writing it to
tables. |
protected abstract void |
RelationalSnapshotChangeEventSource.releaseSchemaSnapshotLocks(RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext)
Releases all locks established in order to create a consistent schema snapshot.
|
private void |
RelationalSnapshotChangeEventSource.tryStartingSnapshot(RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.