Package io.debezium.pipeline.source
Class AbstractSnapshotChangeEventSource.SnapshottingTask
java.lang.Object
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshottingTask
- Enclosing class:
- AbstractSnapshotChangeEventSource<P extends Partition,
O extends OffsetContext>
A configuration describing the task to be performed during snapshotting.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether to skip the snapshot phase.boolean
Whether data (rows in captured tables) should be snapshotted.boolean
Whether the schema of captured tables should be snapshotted.toString()
-
Field Details
-
snapshotSchema
private final boolean snapshotSchema -
snapshotData
private final boolean snapshotData
-
-
Constructor Details
-
SnapshottingTask
public SnapshottingTask(boolean snapshotSchema, boolean snapshotData)
-
-
Method Details
-
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
. -
toString
-