Uses of Class
io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext
Packages that use RelationalSnapshotChangeEventSource.RelationalSnapshotContext
-
Uses of RelationalSnapshotChangeEventSource.RelationalSnapshotContext in io.debezium.relational
Methods in io.debezium.relational with parameters of type RelationalSnapshotChangeEventSource.RelationalSnapshotContextModifier and TypeMethodDescriptionprotected void
RelationalSnapshotChangeEventSource.connectionCreated
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) Executes steps which have to be taken just after the database connection is created.protected void
RelationalSnapshotChangeEventSource.connectionPoolConnectionCreated
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, JdbcConnection connection) Executes steps which have to be taken just after a connection pool connection is created.protected abstract O
RelationalSnapshotChangeEventSource.copyOffset
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) private Queue
<JdbcConnection> RelationalSnapshotChangeEventSource.createConnectionPool
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> ctx) private void
RelationalSnapshotChangeEventSource.createDataEvents
(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, Queue<JdbcConnection> connectionPool, Map<DataCollectionId, String> snapshotSelectOverridesByTable) RelationalSnapshotChangeEventSource.createDataEventsForTableCallable
(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, EventDispatcher.SnapshotReceiver<P> snapshotReceiver, Table table, boolean firstTable, boolean lastTable, int tableOrder, int tableCount, String selectStatement, OptionalLong rowCount, Queue<JdbcConnection> connectionPool, Queue<O> offsets) protected void
RelationalSnapshotChangeEventSource.createSchemaChangeEventsForTables
(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, SnapshottingTask snapshottingTask) private void
RelationalSnapshotChangeEventSource.determineCapturedTables
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> ctx, Set<Pattern> dataCollectionsToBeSnapshotted, SnapshottingTask snapshottingTask) protected abstract void
RelationalSnapshotChangeEventSource.determineSnapshotOffset
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, O previousOffset) Determines the current offset (MySQL binlog position, Oracle SCN etc.), storing it into the passed context object.RelationalSnapshotChangeEventSource.determineSnapshotSelect
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, TableId tableId, Map<DataCollectionId, String> snapshotSelectOverridesByTable) Returns a valid query string for the specified table, either given by the user via snapshot select overrides or defaulting to a statement provided by the DB-specific change event source.protected void
RelationalSnapshotChangeEventSource.doCreateDataEventsForTable
(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, O offset, EventDispatcher.SnapshotReceiver<P> snapshotReceiver, Table table, boolean firstTable, boolean lastTable, int tableOrder, int tableCount, String selectStatement, OptionalLong rowCount, JdbcConnection jdbcConnection) protected String
RelationalSnapshotChangeEventSource.enhanceOverriddenSelect
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, String overriddenSelect, TableId tableId) This method is overridden for Oracle to implement "as of SCN" predicateRelationalSnapshotChangeEventSource.getAllTableIds
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> 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<P, O> snapshotContext, Table table) Creates aSchemaChangeEvent
representing the creation of the given table.RelationalSnapshotChangeEventSource.getSnapshotConnectionFirstSelect
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, TableId tableId) RelationalSnapshotChangeEventSource.getSnapshotSelect
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, TableId tableId, List<String> columns) Returns the SELECT statement to be used for scanning the given table or empty value if the table will be streamed from but not snapshottedprotected Collection
<TableId> RelationalSnapshotChangeEventSource.getTablesForSchemaChange
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) protected void
RelationalSnapshotChangeEventSource.lastSnapshotRecord
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) protected abstract void
RelationalSnapshotChangeEventSource.lockTablesForSchemaSnapshot
(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> 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<P, O> snapshotContext, O offsetContext, SnapshottingTask snapshottingTask) Reads the structure of all the captured tables, writing it totables
.protected void
RelationalSnapshotChangeEventSource.releaseDataSnapshotLocks
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) Releases all locks established in order to create a consistent data snapshot.protected abstract void
RelationalSnapshotChangeEventSource.releaseSchemaSnapshotLocks
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) Releases all locks established in order to create a consistent schema snapshot.protected void
RelationalSnapshotChangeEventSource.tryStartingSnapshot
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext)