Uses of Class
io.debezium.connector.mysql.MySqlOffsetContext
Packages that use MySqlOffsetContext
-
Uses of MySqlOffsetContext in io.debezium.connector.mysql
Fields in io.debezium.connector.mysql declared as MySqlOffsetContextModifier and TypeFieldDescriptionprivate final MySqlOffsetContextMySqlStreamingChangeEventSource.ReaderThreadLifecycleListener.offsetContextMethods in io.debezium.connector.mysql that return MySqlOffsetContextModifier and TypeMethodDescriptionstatic MySqlOffsetContextMySqlOffsetContext.initial(MySqlConnectorConfig config) Methods in io.debezium.connector.mysql that return types with arguments of type MySqlOffsetContextModifier and TypeMethodDescriptionMySqlChangeEventSourceFactory.getSnapshotChangeEventSource(SnapshotProgressListener<MySqlPartition> snapshotProgressListener) MySqlChangeEventSourceFactory.getStreamingChangeEventSource()MySqlSnapshotChangeEventSource.prepare(MySqlPartition partition) MySqlConnectorTask.start(Configuration config) Methods in io.debezium.connector.mysql with parameters of type MySqlOffsetContextModifier and TypeMethodDescriptionvoidEventBuffer.add(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) An entry point to the buffer that should be used by BinlogReader to push events.private voidEventBuffer.beginTransaction(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) private voidEventBuffer.completeTransaction(MySqlPartition partition, MySqlOffsetContext offsetContext, boolean wellFormed, com.github.shyiko.mysql.binlog.event.Event event) Sends all events from the buffer int a final handler.private voidEventBuffer.consumeEvent(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) protected voidMySqlSnapshotChangeEventSource.determineSnapshotOffset(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> ctx, MySqlOffsetContext previousOffset) private voidMySqlDatabaseSchema.emitChangeEvent(MySqlPartition partition, MySqlOffsetContext offset, List<SchemaChangeEvent> schemaChangeEvents, String sanitizedDbName, DdlParserListener.Event event, TableId tableId, SchemaChangeEvent.SchemaChangeEventType type, boolean snapshot) voidMySqlStreamingChangeEventSource.execute(ChangeEventSource.ChangeEventSourceContext context, MySqlPartition partition, MySqlOffsetContext offsetContext) MySqlStreamingChangeEventSource.filterGtidSet(MySqlOffsetContext offsetContext, GtidSet availableServerGtidSet, GtidSet purgedServerGtid) Apply the include/exclude GTID source filters to the currentGTID setand merge them onto the currently available GTID set from a MySQL server.Optional<IncrementalSnapshotChangeEventSource<MySqlPartition,? extends io.debezium.spi.schema.DataCollectionId>> MySqlChangeEventSourceFactory.getIncrementalSnapshotChangeEventSource(MySqlOffsetContext offsetContext, SnapshotProgressListener<MySqlPartition> snapshotProgressListener, DataChangeEventListener<MySqlPartition> dataChangeEventListener) MySqlSnapshotChangeEventSource.getSnapshottingTask(MySqlPartition partition, MySqlOffsetContext previousOffset) private <T extends com.github.shyiko.mysql.binlog.event.EventData,U>
voidMySqlStreamingChangeEventSource.handleChange(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event, Envelope.Operation operation, Class<T> eventDataClass, MySqlStreamingChangeEventSource.TableIdProvider<T> tableIdProvider, MySqlStreamingChangeEventSource.RowsProvider<T, U> rowsProvider, MySqlStreamingChangeEventSource.BinlogChangeEmitter<U> changeEmitter) protected voidMySqlStreamingChangeEventSource.handleDelete(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Generate source records for the supplied event with anDeleteRowsEventData.protected voidMySqlStreamingChangeEventSource.handleEvent(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) protected voidMySqlStreamingChangeEventSource.handleGtidEvent(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle the supplied event with aGtidEventDatathat signals the beginning of a GTID transaction.protected voidMySqlStreamingChangeEventSource.handleInsert(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Generate source records for the supplied event with anWriteRowsEventData.protected voidMySqlStreamingChangeEventSource.handleQueryEvent(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle the supplied event with anQueryEventDataby possibly recording the DDL statements as changes in the MySQL schemas.protected voidMySqlStreamingChangeEventSource.handleRotateLogsEvent(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle the supplied event with aRotateEventDatathat signals the logs are being rotated.protected voidMySqlStreamingChangeEventSource.handleRowsQuery(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle the supplied event with anRowsQueryEventDataby recording the original SQL query that generated the event.protected voidMySqlStreamingChangeEventSource.handleServerHeartbeat(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle the supplied event that is sent by a primary to a replica to let the replica know that the primary is still alive.protected voidMySqlStreamingChangeEventSource.handleServerIncident(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle the supplied event that signals that an out of the ordinary event that occurred on the master.protected voidMySqlStreamingChangeEventSource.handleServerStop(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle the supplied event that signals that mysqld has stopped.private voidMySqlStreamingChangeEventSource.handleTransactionCompletion(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) protected voidMySqlStreamingChangeEventSource.handleTransactionPayload(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle an event of type TRANSACTION_PAYLOAD_EVENTprotected voidMySqlStreamingChangeEventSource.handleUpdate(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Generate source records for the supplied event with anUpdateRowsEventData.protected voidMySqlStreamingChangeEventSource.handleUpdateTableMetadata(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle a change in the table metadata.protected voidMySqlStreamingChangeEventSource.ignoreEvent(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) private voidMySqlStreamingChangeEventSource.informAboutUnknownTableIfRequired(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event, TableId tableId) private voidMySqlStreamingChangeEventSource.informAboutUnknownTableIfRequired(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event, TableId tableId, Envelope.Operation operation) If we receive an event for a table that is monitored but whose metadata we don't know, either ignore that event or raise a warning or error as per theMySqlConnectorConfig.INCONSISTENT_SCHEMA_HANDLING_MODEconfiguration.protected booleanMySqlConnectorTask.isBinlogAvailable(MySqlConnectorConfig config, MySqlOffsetContext offset) Determine whether the binlog position as set on theMySqlOffsetContextis available in the server.protected voidMySqlStreamingChangeEventSource.logEvent(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) protected voidMySqlStreamingChangeEventSource.onEvent(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) private List<SchemaChangeEvent>MySqlDatabaseSchema.parseDdl(MySqlPartition partition, String ddlStatements, String databaseName, MySqlOffsetContext offset, Instant sourceTime, boolean snapshot) MySqlDatabaseSchema.parseSnapshotDdl(MySqlPartition partition, String ddlStatements, String databaseName, MySqlOffsetContext offset, Instant sourceTime) MySqlDatabaseSchema.parseStreamingDdl(MySqlPartition partition, String ddlStatements, String databaseName, MySqlOffsetContext offset, Instant sourceTime) protected voidMySqlStreamingChangeEventSource.prepareTransaction(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle aEventType.XA_PREPAREevent.protected voidMySqlSnapshotChangeEventSource.readTableStructure(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext, MySqlOffsetContext offsetContext) private booleanMySqlConnectorTask.validateAndLoadSchemaHistory(MySqlConnectorConfig config, MySqlPartition partition, MySqlOffsetContext offset, MySqlDatabaseSchema schema) private booleanMySqlConnectorTask.validateSnapshotFeasibility(MySqlConnectorConfig config, MySqlOffsetContext offset) protected voidMySqlStreamingChangeEventSource.viewChange(MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event) Handle aEventType.VIEW_CHANGEevent.Method parameters in io.debezium.connector.mysql with type arguments of type MySqlOffsetContextModifier and TypeMethodDescriptionprivate voidMySqlSnapshotChangeEventSource.addSchemaEvent(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext, String database, String ddl) protected voidMySqlSnapshotChangeEventSource.complete(AbstractSnapshotChangeEventSource.SnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext) protected voidMySqlSnapshotChangeEventSource.connectionCreated(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext) protected voidMySqlSnapshotChangeEventSource.createSchemaChangeEventsForTables(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext, AbstractSnapshotChangeEventSource.SnapshottingTask snapshottingTask) (package private) voidMySqlSnapshotChangeEventSource.createSchemaEventsForTables(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext, Collection<TableId> tablesToRead, boolean firstPhase) protected voidMySqlSnapshotChangeEventSource.determineSnapshotOffset(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> ctx, MySqlOffsetContext previousOffset) MySqlSnapshotChangeEventSource.getAllTableIds(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> ctx) protected SchemaChangeEventMySqlSnapshotChangeEventSource.getCreateTableEvent(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext, Table table) MySqlSnapshotChangeEventSource.getSnapshotSelect(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext, TableId tableId, List<String> columns) Generate a valid MySQL query string for the specified table and columnsprotected voidMySqlSnapshotChangeEventSource.lockTablesForSchemaSnapshot(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext) protected voidMySqlSnapshotChangeEventSource.readTableStructure(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext, MySqlOffsetContext offsetContext) protected voidMySqlSnapshotChangeEventSource.releaseDataSnapshotLocks(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext) protected voidMySqlSnapshotChangeEventSource.releaseSchemaSnapshotLocks(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext) private voidMySqlSnapshotChangeEventSource.tableLock(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext) Constructors in io.debezium.connector.mysql with parameters of type MySqlOffsetContextModifierConstructorDescription(package private)ReaderThreadLifecycleListener(MySqlOffsetContext offsetContext)