Uses of Class
io.debezium.connector.mysql.MySqlPartition
Packages that use MySqlPartition
-
Uses of MySqlPartition in io.debezium.connector.mysql
Fields in io.debezium.connector.mysql with type parameters of type MySqlPartitionModifier and TypeFieldDescriptionprivate final EventDispatcher<MySqlPartition,TableId> MySqlChangeEventSourceFactory.dispatcherprivate final EventDispatcher<MySqlPartition,TableId> MySqlStreamingChangeEventSource.eventDispatcherMethods in io.debezium.connector.mysql that return types with arguments of type MySqlPartitionModifier and TypeMethodDescriptionMySqlChangeEventSourceFactory.getIncrementalSnapshotChangeEventSource(MySqlOffsetContext offsetContext, SnapshotProgressListener<MySqlPartition> snapshotProgressListener, DataChangeEventListener<MySqlPartition> dataChangeEventListener) MySqlPartition.Provider.getPartitions()MySqlChangeEventSourceFactory.getSnapshotChangeEventSource(SnapshotProgressListener<MySqlPartition> snapshotProgressListener) MySqlChangeEventSourceMetricsFactory.getSnapshotMetrics(T taskContext, ChangeEventQueueMetrics changeEventQueueMetrics, EventMetadataProvider eventMetadataProvider) MySqlChangeEventSourceFactory.getStreamingChangeEventSource()MySqlChangeEventSourceMetricsFactory.getStreamingMetrics(T taskContext, ChangeEventQueueMetrics changeEventQueueMetrics, EventMetadataProvider eventMetadataProvider) MySqlSnapshotChangeEventSource.prepare(MySqlPartition partition) MySqlConnectorTask.start(Configuration config) Methods in io.debezium.connector.mysql with parameters of type MySqlPartitionModifier 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 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) 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.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) MySqlDatabaseSchema.parseSnapshotDdl(MySqlPartition partition, String ddlStatements, String databaseName, MySqlOffsetContext offset, Instant sourceTime) MySqlDatabaseSchema.parseStreamingDdl(MySqlPartition partition, String ddlStatements, String databaseName, MySqlOffsetContext offset, Instant sourceTime) 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) Method parameters in io.debezium.connector.mysql with type arguments of type MySqlPartitionModifier 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) MySqlChangeEventSourceFactory.getIncrementalSnapshotChangeEventSource(MySqlOffsetContext offsetContext, SnapshotProgressListener<MySqlPartition> snapshotProgressListener, DataChangeEventListener<MySqlPartition> dataChangeEventListener) MySqlChangeEventSourceFactory.getIncrementalSnapshotChangeEventSource(MySqlOffsetContext offsetContext, SnapshotProgressListener<MySqlPartition> snapshotProgressListener, DataChangeEventListener<MySqlPartition> dataChangeEventListener) MySqlChangeEventSourceFactory.getSnapshotChangeEventSource(SnapshotProgressListener<MySqlPartition> snapshotProgressListener) 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.lastSnapshotRecord(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext) protected 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) protected voidMySqlReadOnlyIncrementalSnapshotChangeEventSource.sendEvent(MySqlPartition partition, EventDispatcher<MySqlPartition, T> dispatcher, OffsetContext offsetContext, Object[] row) private voidMySqlSnapshotChangeEventSource.tableLock(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<MySqlPartition, MySqlOffsetContext> snapshotContext) Constructors in io.debezium.connector.mysql with parameters of type MySqlPartitionModifierConstructorDescriptionMySqlChangeRecordEmitter(MySqlPartition partition, OffsetContext offset, Clock clock, Envelope.Operation operation, Serializable[] before, Serializable[] after) MySqlSnapshotContext(MySqlPartition partition) Constructor parameters in io.debezium.connector.mysql with type arguments of type MySqlPartitionModifierConstructorDescriptionMySqlChangeEventSourceFactory(MySqlConnectorConfig configuration, MySqlConnection connection, ErrorHandler errorHandler, EventDispatcher<MySqlPartition, TableId> dispatcher, Clock clock, MySqlDatabaseSchema schema, MySqlTaskContext taskContext, MySqlStreamingChangeEventSourceMetrics streamingMetrics, ChangeEventQueue<DataChangeEvent> queue) MySqlReadOnlyIncrementalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig config, JdbcConnection jdbcConnection, EventDispatcher<MySqlPartition, T> dispatcher, DatabaseSchema<?> databaseSchema, Clock clock, SnapshotProgressListener<MySqlPartition> progressListener, DataChangeEventListener<MySqlPartition> dataChangeEventListener) MySqlReadOnlyIncrementalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig config, JdbcConnection jdbcConnection, EventDispatcher<MySqlPartition, T> dispatcher, DatabaseSchema<?> databaseSchema, Clock clock, SnapshotProgressListener<MySqlPartition> progressListener, DataChangeEventListener<MySqlPartition> dataChangeEventListener) MySqlReadOnlyIncrementalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig config, JdbcConnection jdbcConnection, EventDispatcher<MySqlPartition, T> dispatcher, DatabaseSchema<?> databaseSchema, Clock clock, SnapshotProgressListener<MySqlPartition> progressListener, DataChangeEventListener<MySqlPartition> dataChangeEventListener) MySqlSnapshotChangeEventSource(MySqlConnectorConfig connectorConfig, MySqlConnection connection, MySqlDatabaseSchema schema, EventDispatcher<MySqlPartition, TableId> dispatcher, Clock clock, MySqlSnapshotChangeEventSourceMetrics metrics, BlockingConsumer<Function<org.apache.kafka.connect.source.SourceRecord, org.apache.kafka.connect.source.SourceRecord>> lastEventProcessor) MySqlStreamingChangeEventSource(MySqlConnectorConfig connectorConfig, MySqlConnection connection, EventDispatcher<MySqlPartition, TableId> dispatcher, ErrorHandler errorHandler, Clock clock, MySqlTaskContext taskContext, MySqlStreamingChangeEventSourceMetrics metrics) -
Uses of MySqlPartition in io.debezium.connector.mysql.legacy
Fields in io.debezium.connector.mysql.legacy with type parameters of type MySqlPartitionModifier and TypeFieldDescriptionprivate final AtomicReference<MySqlPartition>AbstractReader.partitionprivate final AtomicReference<MySqlPartition>BlockingReader.partitionprivate final AtomicReference<MySqlPartition>ParallelSnapshotReader.partitionprivate final AtomicReference<MySqlPartition>ReconcilingBinlogReader.partitionprivate final AtomicReference<Consumer<MySqlPartition>>AbstractReader.uponCompletionprivate final AtomicReference<Consumer<MySqlPartition>>BlockingReader.uponCompletionprivate final AtomicReference<Consumer<MySqlPartition>>ChainedReader.uponCompletionprivate final AtomicReference<Consumer<MySqlPartition>>ParallelSnapshotReader.uponCompletionprivate final AtomicReference<Consumer<MySqlPartition>>ReconcilingBinlogReader.uponCompletionMethods in io.debezium.connector.mysql.legacy that return types with arguments of type MySqlPartitionMethods in io.debezium.connector.mysql.legacy with parameters of type MySqlPartitionModifier and TypeMethodDescriptionprotected 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 MySqlPartitionModifier and TypeMethodDescriptionvoidAbstractReader.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)