Package io.debezium.pipeline.source
Class AbstractSnapshotChangeEventSource.SnapshottingTask
- java.lang.Object
-
- io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshottingTask
-
- Enclosing class:
- AbstractSnapshotChangeEventSource
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 booleansnapshotDataprivate booleansnapshotSchema
-
Constructor Summary
Constructors Constructor Description SnapshottingTask(boolean snapshotSchema, boolean snapshotData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldSkipSnapshot()Whether to skip the snapshot phase.booleansnapshotData()Whether data (rows in captured tables) should be snapshotted.booleansnapshotSchema()Whether the schema of captured tables should be snapshotted.StringtoString()
-
-
-
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.
-
-