Class AbstractSnapshotChangeEventSource.SnapshottingTask

java.lang.Object
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshottingTask
Enclosing class:
AbstractSnapshotChangeEventSource<P extends Partition,O extends OffsetContext>

public static class AbstractSnapshotChangeEventSource.SnapshottingTask extends Object
A configuration describing the task to be performed during snapshotting.
  • 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 both snapshotSchema() and snapshotData() return false.
    • toString

      public String toString()
      Overrides:
      toString in class Object