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 voidRelationalSnapshotChangeEventSource.connectionCreated(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) Executes steps which have to be taken just after the database connection is created.protected voidRelationalSnapshotChangeEventSource.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 ORelationalSnapshotChangeEventSource.copyOffset(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) private Queue<JdbcConnection>RelationalSnapshotChangeEventSource.createConnectionPool(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> ctx) private voidRelationalSnapshotChangeEventSource.createDataEvents(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, Queue<JdbcConnection> connectionPool, Map<DataCollectionId, String> snapshotSelectOverridesByTable, SnapshottingTask snapshottingTask) 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 voidRelationalSnapshotChangeEventSource.createSchemaChangeEventsForTables(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, SnapshottingTask snapshottingTask) private voidRelationalSnapshotChangeEventSource.determineCapturedTables(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> ctx, Set<Pattern> dataCollectionsToBeSnapshotted, SnapshottingTask snapshottingTask) protected abstract voidRelationalSnapshotChangeEventSource.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.private voidRelationalSnapshotChangeEventSource.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 StringRelationalSnapshotChangeEventSource.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 SchemaChangeEventRelationalSnapshotChangeEventSource.getCreateTableEvent(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, Table table) Creates aSchemaChangeEventrepresenting 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 voidRelationalSnapshotChangeEventSource.lastSnapshotRecord(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) protected abstract voidRelationalSnapshotChangeEventSource.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 voidRelationalSnapshotChangeEventSource.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 voidRelationalSnapshotChangeEventSource.releaseDataSnapshotLocks(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) Releases all locks established in order to create a consistent data snapshot.protected abstract voidRelationalSnapshotChangeEventSource.releaseSchemaSnapshotLocks(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) Releases all locks established in order to create a consistent schema snapshot.protected voidRelationalSnapshotChangeEventSource.tryStartingSnapshot(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext)