Package io.debezium.pipeline.source
Class SnapshottingTask
java.lang.Object
io.debezium.pipeline.source.SnapshottingTask
A configuration describing the task to be performed during snapshotting.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
private final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of regular expression defining the data collection to snapshotMap of query statement overrides by data collectionboolean
Determine if the task is a blocking snapshot or notboolean
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 -
dataCollections
-
filterQueries
-
blocking
private final boolean blocking
-
-
Constructor Details
-
SnapshottingTask
-
-
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. -
getDataCollections
List of regular expression defining the data collection to snapshot -
getFilterQueries
Map of query statement overrides by data collection -
shouldSkipSnapshot
public boolean shouldSkipSnapshot()Whether to skip the snapshot phase. By default, this method will skip performing a snapshot if bothsnapshotSchema()
andsnapshotData()
returnfalse
. -
isBlocking
public boolean isBlocking()Determine if the task is a blocking snapshot or not -
toString
-