Uses of Class
io.debezium.connector.mysql.MySqlPartition
-
Packages that use MySqlPartition Package Description io.debezium.connector.mysql io.debezium.connector.mysql.legacy -
-
Uses of MySqlPartition in io.debezium.connector.mysql
Fields in io.debezium.connector.mysql with type parameters of type MySqlPartition Modifier and Type Field Description private EventDispatcher<MySqlPartition,TableId>MySqlChangeEventSourceFactory. dispatcherprivate EventDispatcher<MySqlPartition,TableId>MySqlStreamingChangeEventSource. eventDispatcherMethods in io.debezium.connector.mysql with parameters of type MySqlPartition Modifier and Type Method Description voidEventBuffer. 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 voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. addDataCollectionNamesToSnapshot(ExecuteSnapshotKafkaSignal executeSnapshotSignal, MySqlPartition partition, OffsetContext offsetContext)private voidEventBuffer. beginTransaction(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event)private voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. checkEnqueuedSnapshotSignals(MySqlPartition partition, OffsetContext offsetContext)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)private voidMySqlDatabaseSchema. emitChangeEvent(MySqlPartition partition, MySqlOffsetContext offset, List<SchemaChangeEvent> schemaChangeEvents, String sanitizedDbName, DdlParserListener.Event event, TableId tableId, SchemaChangeEvent.SchemaChangeEventType type, boolean snapshot)protected voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. emitWindowClose(MySqlPartition partition)voidMySqlStreamingChangeEventSource. execute(ChangeEventSource.ChangeEventSourceContext context, MySqlPartition partition, MySqlOffsetContext offsetContext)protected AbstractSnapshotChangeEventSource.SnapshottingTaskMySqlSnapshotChangeEventSource. 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. 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. 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.private voidMySqlStreamingChangeEventSource. handleTransactionCompletion(MySqlPartition partition, MySqlOffsetContext offsetContext, com.github.shyiko.mysql.binlog.event.Event event)protected 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.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.voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. init(MySqlPartition partition, OffsetContext offsetContext)private List<SchemaChangeEvent>MySqlDatabaseSchema. parseDdl(MySqlPartition partition, String ddlStatements, String databaseName, MySqlOffsetContext offset, Instant sourceTime, boolean snapshot)List<SchemaChangeEvent>MySqlDatabaseSchema. parseSnapshotDdl(MySqlPartition partition, String ddlStatements, String databaseName, MySqlOffsetContext offset, Instant sourceTime)List<SchemaChangeEvent>MySqlDatabaseSchema. parseStreamingDdl(MySqlPartition partition, String ddlStatements, String databaseName, MySqlOffsetContext offset, Instant sourceTime)protected AbstractSnapshotChangeEventSource.SnapshotContext<MySqlPartition,MySqlOffsetContext>MySqlSnapshotChangeEventSource. prepare(MySqlPartition partition)voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. processFilteredEvent(MySqlPartition partition, OffsetContext offsetContext)voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. processHeartbeat(MySqlPartition partition, OffsetContext offsetContext)voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. processMessage(MySqlPartition partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext)voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. processTransactionCommittedEvent(MySqlPartition partition, OffsetContext offsetContext)voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. processTransactionStartedEvent(MySqlPartition partition, OffsetContext offsetContext)private voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. readUntilGtidChange(MySqlPartition partition, OffsetContext offsetContext)protected voidMySqlReadOnlyIncrementalSnapshotChangeEventSource. sendEvent(MySqlPartition partition, EventDispatcher<MySqlPartition,T> dispatcher, OffsetContext offsetContext, Object[] row)private booleanMySqlConnectorTask. validateAndLoadDatabaseHistory(MySqlConnectorConfig config, MySqlPartition partition, MySqlOffsetContext offset, MySqlDatabaseSchema schema)Constructors in io.debezium.connector.mysql with parameters of type MySqlPartition Constructor Description MySqlChangeRecordEmitter(MySqlPartition partition, OffsetContext offset, Clock clock, Envelope.Operation operation, Serializable[] before, Serializable[] after)MySqlSnapshotContext(MySqlPartition partition) -
Uses of MySqlPartition in io.debezium.connector.mysql.legacy
Fields in io.debezium.connector.mysql.legacy with type parameters of type MySqlPartition Modifier and Type Field Description private AtomicReference<MySqlPartition>AbstractReader. partitionprivate AtomicReference<MySqlPartition>BlockingReader. partitionprivate AtomicReference<MySqlPartition>ParallelSnapshotReader. partitionprivate AtomicReference<MySqlPartition>ReconcilingBinlogReader. partitionprivate AtomicReference<Consumer<MySqlPartition>>AbstractReader. uponCompletionprivate AtomicReference<Consumer<MySqlPartition>>BlockingReader. uponCompletionprivate AtomicReference<Consumer<MySqlPartition>>ChainedReader. uponCompletionprivate AtomicReference<Consumer<MySqlPartition>>ParallelSnapshotReader. uponCompletionprivate AtomicReference<Consumer<MySqlPartition>>ReconcilingBinlogReader. uponCompletionMethods in io.debezium.connector.mysql.legacy that return types with arguments of type MySqlPartition Modifier and Type Method Description ChangeEventSourceCoordinator<MySqlPartition,MySqlOffsetContext>MySqlConnectorTask. start(Configuration config)Methods in io.debezium.connector.mysql.legacy with parameters of type MySqlPartition Modifier and Type Method Description protected voidAbstractReader. cleanupResources(MySqlPartition partition)This method is normally called byAbstractReader.poll()when there this reader finishes normally and all generated records are consumed prior to beingstopped.protected voidMySqlConnectorTask. completeReaders(MySqlPartition partition)When the task isstopped, the readers may have additional work to perform before they actually stop and before all their records have been consumed via theBaseSourceTask.poll()method.private voidParallelSnapshotReader. completeSuccessfully(MySqlPartition partition)protected abstract voidAbstractReader. doStart(MySqlPartition partition)The reader has been requested to start, so initialize any un-initialized resources required by the reader.protected voidBinlogReader. doStart(MySqlPartition partition)protected voidSnapshotReader. doStart(MySqlPartition partition)Start the snapshot and return immediately.protected abstract voidAbstractReader. doStop(MySqlPartition partition)The reader has been requested to stop, so perform any work required to stop the reader's resources that were previouslystarted.protected voidBinlogReader. doStop(MySqlPartition partition)protected voidSnapshotReader. doStop(MySqlPartition partition)protected voidSnapshotReader. execute(MySqlPartition partition)Perform the snapshot using the same logic as the "mysqldump" utility.protected voidBinlogReader. handleDelete(MySqlPartition partition, com.github.shyiko.mysql.binlog.event.Event event)Generate source records for the supplied event with anDeleteRowsEventData.protected voidBinlogReader. handleInsert(MySqlPartition partition, com.github.shyiko.mysql.binlog.event.Event event)Generate source records for the supplied event with anWriteRowsEventData.protected voidBinlogReader. handleServerIncident(MySqlPartition partition, 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 voidBinlogReader. handleUpdate(MySqlPartition partition, com.github.shyiko.mysql.binlog.event.Event event)Generate source records for the supplied event with anUpdateRowsEventData.protected voidBinlogReader. handleUpdateTableMetadata(MySqlPartition partition, com.github.shyiko.mysql.binlog.event.Event event)Handle a change in the table metadata.private voidBinlogReader. informAboutUnknownTableIfRequired(MySqlPartition partition, com.github.shyiko.mysql.binlog.event.Event event, TableId tableId, String typeToLog)private voidBinlogReader. informAboutUnknownTableIfRequired(MySqlPartition partition, com.github.shyiko.mysql.binlog.event.Event event, TableId tableId, String typeToLog, 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.private voidChainedReader. readerCompletedPolling(MySqlPartition partition)Called when the previously-started reader has returned all of its records viapolling.voidAbstractReader. start(MySqlPartition partition)voidBlockingReader. start(MySqlPartition partition)voidChainedReader. start(MySqlPartition partition)voidParallelSnapshotReader. start(MySqlPartition partition)voidReader. start(MySqlPartition partition)Start the reader and return immediately.voidReconcilingBinlogReader. start(MySqlPartition partition)voidTimedBlockingReader. start(MySqlPartition partition)private booleanChainedReader. startNextReader(MySqlPartition partition)Start the next reader.Method parameters in io.debezium.connector.mysql.legacy with type arguments of type MySqlPartition Modifier and Type Method Description voidAbstractReader. uponCompletion(Consumer<MySqlPartition> handler)voidBlockingReader. uponCompletion(Consumer<MySqlPartition> handler)voidChainedReader. uponCompletion(Consumer<MySqlPartition> handler)voidParallelSnapshotReader. uponCompletion(Consumer<MySqlPartition> handler)voidReader. uponCompletion(Consumer<MySqlPartition> handler)Set the function that should be called when this reader transitions from theReader.State.STOPPINGtoReader.State.STOPPEDstate, which is after all generated records have been consumed via thepollmethod.voidReconcilingBinlogReader. uponCompletion(Consumer<MySqlPartition> handler)
-