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 booleanprivate final booleanprivate 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 collectionbooleanDetermine if the task is an onDemand snapshot or notbooleanWhether to skip the snapshot phase.booleanWhether data (rows in captured tables) should be snapshotted.booleanWhether the schema of captured tables should be snapshotted.toString()
-
Field Details
-
snapshotSchema
private final boolean snapshotSchema -
snapshotData
private final boolean snapshotData -
dataCollections
-
filterQueries
-
onDemand
private final boolean onDemand
-
-
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. -
isOnDemand
public boolean isOnDemand()Determine if the task is an onDemand snapshot or not -
toString
-