Class AbstractSnapshotChangeEventSource.SnapshottingTask

    • Field Detail

      • snapshotSchema

        private final boolean snapshotSchema
      • snapshotData

        private final boolean snapshotData
    • Constructor Detail

      • SnapshottingTask

        public SnapshottingTask​(boolean snapshotSchema,
                                boolean snapshotData)
    • 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 both snapshotSchema() and snapshotData() return false.