public class MySqlSnapshotSplitReadTask
extends io.debezium.pipeline.source.AbstractSnapshotChangeEventSource
| 构造器和说明 |
|---|
MySqlSnapshotSplitReadTask(io.debezium.connector.mysql.MySqlConnectorConfig connectorConfig,
io.debezium.connector.mysql.MySqlOffsetContext previousOffset,
io.debezium.pipeline.source.spi.SnapshotProgressListener snapshotProgressListener,
io.debezium.connector.mysql.MySqlDatabaseSchema databaseSchema,
io.debezium.connector.mysql.MySqlConnection jdbcConnection,
JdbcSourceEventDispatcher dispatcher,
SnapshotSplit snapshotSplit) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected io.debezium.pipeline.spi.SnapshotResult |
doExecute(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext context,
io.debezium.pipeline.spi.OffsetContext previousOffset,
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext snapshotContext,
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshottingTask snapshottingTask) |
io.debezium.pipeline.spi.SnapshotResult |
execute(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext context,
io.debezium.pipeline.spi.OffsetContext previousOffset) |
protected io.debezium.pipeline.spi.ChangeRecordEmitter |
getChangeRecordEmitter(io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext snapshotContext,
TableId tableId,
Object[] row) |
protected io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshottingTask |
getSnapshottingTask(io.debezium.pipeline.spi.OffsetContext previousOffset) |
protected io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext |
prepare(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext changeEventSourceContext) |
public MySqlSnapshotSplitReadTask(io.debezium.connector.mysql.MySqlConnectorConfig connectorConfig,
io.debezium.connector.mysql.MySqlOffsetContext previousOffset,
io.debezium.pipeline.source.spi.SnapshotProgressListener snapshotProgressListener,
io.debezium.connector.mysql.MySqlDatabaseSchema databaseSchema,
io.debezium.connector.mysql.MySqlConnection jdbcConnection,
JdbcSourceEventDispatcher dispatcher,
SnapshotSplit snapshotSplit)
public io.debezium.pipeline.spi.SnapshotResult execute(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext context,
io.debezium.pipeline.spi.OffsetContext previousOffset)
throws InterruptedException
execute 在接口中 io.debezium.pipeline.source.spi.SnapshotChangeEventSourceexecute 在类中 io.debezium.pipeline.source.AbstractSnapshotChangeEventSourceInterruptedExceptionprotected io.debezium.pipeline.spi.SnapshotResult doExecute(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext context,
io.debezium.pipeline.spi.OffsetContext previousOffset,
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext snapshotContext,
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshottingTask snapshottingTask)
throws Exception
doExecute 在类中 io.debezium.pipeline.source.AbstractSnapshotChangeEventSourceExceptionprotected io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshottingTask getSnapshottingTask(io.debezium.pipeline.spi.OffsetContext previousOffset)
getSnapshottingTask 在类中 io.debezium.pipeline.source.AbstractSnapshotChangeEventSourceprotected io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext prepare(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext changeEventSourceContext)
throws Exception
prepare 在类中 io.debezium.pipeline.source.AbstractSnapshotChangeEventSourceExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.