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
Modifier and TypeFieldDescriptionprivate final boolean
private final boolean
private final boolean
-
Constructor Summary
-
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 an onDemand 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
-
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
-