Package io.debezium.connector.mysql
Class MySqlReadOnlyIncrementalSnapshotContext<T>
- java.lang.Object
-
- io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotContext<T>
-
- io.debezium.connector.mysql.MySqlReadOnlyIncrementalSnapshotContext<T>
-
- All Implemented Interfaces:
IncrementalSnapshotContext<T>
@NotThreadSafe public class MySqlReadOnlyIncrementalSnapshotContext<T> extends AbstractIncrementalSnapshotContext<T>
-
-
Field Summary
Fields Modifier and Type Field Description private GtidSethighWatermarkprivate static org.slf4j.LoggerLOGGERprivate GtidSetlowWatermark-
Fields inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotContext
DATA_COLLECTIONS_TO_SNAPSHOT_KEY, EVENT_PRIMARY_KEY, INCREMENTAL_SNAPSHOT_KEY, TABLE_MAXIMUM_KEY, windowOpened
-
-
Constructor Summary
Constructors Constructor Description MySqlReadOnlyIncrementalSnapshotContext()MySqlReadOnlyIncrementalSnapshotContext(boolean useCatalogBeforeSchema)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <U> MySqlReadOnlyIncrementalSnapshotContext<U>load(Map<String,?> offsets)static <U> MySqlReadOnlyIncrementalSnapshotContext<U>load(Map<String,?> offsets, boolean useCatalogBeforeSchema)booleanreachedHighWatermark(OffsetContext offsetContext)booleanserverUuidChanged()voidsetHighWatermark(GtidSet highWatermark)voidsetLowWatermark(GtidSet lowWatermark)booleanupdateWindowState(OffsetContext offsetContext)-
Methods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotContext
addDataCollectionNamesToSnapshot, chunkEndPosititon, closeWindow, currentChunkId, currentDataCollectionId, deduplicationNeeded, init, isNonInitialChunk, maximumKey, maximumKey, nextChunkPosition, nextDataCollection, openWindow, revertChunk, sendEvent, snapshotRunning, startNewChunk, store, tablesToBeSnapshottedCount, toString
-
-
-
-
Method Detail
-
load
public static <U> MySqlReadOnlyIncrementalSnapshotContext<U> load(Map<String,?> offsets)
-
load
public static <U> MySqlReadOnlyIncrementalSnapshotContext<U> load(Map<String,?> offsets, boolean useCatalogBeforeSchema)
-
setLowWatermark
public void setLowWatermark(GtidSet lowWatermark)
-
setHighWatermark
public void setHighWatermark(GtidSet highWatermark)
-
updateWindowState
public boolean updateWindowState(OffsetContext offsetContext)
-
reachedHighWatermark
public boolean reachedHighWatermark(OffsetContext offsetContext)
-
serverUuidChanged
public boolean serverUuidChanged()
-
-