Package io.debezium.pipeline.source
Class AbstractSnapshotChangeEventSource.SnapshottingTask
- java.lang.Object
-
- io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshottingTask
-
- Enclosing class:
- AbstractSnapshotChangeEventSource<O extends OffsetContext>
public static class AbstractSnapshotChangeEventSource.SnapshottingTask extends Object
A configuration describing the task to be performed during snapshotting.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
snapshotData
private boolean
snapshotSchema
-
Constructor Summary
Constructors Constructor Description SnapshottingTask(boolean snapshotSchema, boolean snapshotData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldSkipSnapshot()
Whether to skip the snapshot phase.boolean
snapshotData()
Whether data (rows in captured tables) should be snapshotted.boolean
snapshotSchema()
Whether the schema of captured tables should be snapshotted.String
toString()
-
-
-
Method Detail
-
snapshotData
public boolean snapshotData()
Whether data (rows in captured tables) should be snapshotted.
-
snapshotSchema
public boolean snapshotSchema()
Whether the schema of captured tables should be snapshotted.
-
shouldSkipSnapshot
public boolean shouldSkipSnapshot()
Whether to skip the snapshot phase. By default this method will skip performing a snapshot if bothsnapshotSchema()
andsnapshotData()
returnfalse
.
-
-