Class SchemaOnlySnapshotter

java.lang.Object
io.debezium.connector.mysql.snapshot.mode.BeanAwareSnapshotter
io.debezium.connector.mysql.snapshot.mode.SchemaOnlySnapshotter
All Implemented Interfaces:
BeanRegistryAware, io.debezium.spi.common.Configurable, io.debezium.spi.snapshot.Snapshotter
Direct Known Subclasses:
SchemaOnlyRecoverySnapshotter

public class SchemaOnlySnapshotter extends BeanAwareSnapshotter implements io.debezium.spi.snapshot.Snapshotter
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • SchemaOnlySnapshotter

      public SchemaOnlySnapshotter()
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface io.debezium.spi.snapshot.Snapshotter
    • configure

      public void configure(Map<String,?> properties)
      Specified by:
      configure in interface io.debezium.spi.common.Configurable
    • validate

      public void validate(boolean offsetContextExists, boolean isSnapshotInProgress)
      Specified by:
      validate in interface io.debezium.spi.snapshot.Snapshotter
    • shouldSnapshot

      public boolean shouldSnapshot()
      Specified by:
      shouldSnapshot in interface io.debezium.spi.snapshot.Snapshotter
    • shouldStream

      public boolean shouldStream()
      Specified by:
      shouldStream in interface io.debezium.spi.snapshot.Snapshotter
    • shouldSnapshotSchema

      public boolean shouldSnapshotSchema()
      Specified by:
      shouldSnapshotSchema in interface io.debezium.spi.snapshot.Snapshotter
    • shouldSnapshotOnSchemaError

      public boolean shouldSnapshotOnSchemaError()
      Specified by:
      shouldSnapshotOnSchemaError in interface io.debezium.spi.snapshot.Snapshotter
    • shouldSnapshotOnDataError

      public boolean shouldSnapshotOnDataError()
      Specified by:
      shouldSnapshotOnDataError in interface io.debezium.spi.snapshot.Snapshotter