Package io.debezium.snapshot.mode
Class NoDataSnapshotter
java.lang.Object
io.debezium.snapshot.mode.BeanAwareSnapshotter
io.debezium.snapshot.mode.NoDataSnapshotter
- All Implemented Interfaces:
BeanRegistryAware,io.debezium.spi.common.Configurable,io.debezium.spi.snapshot.Snapshotter
- Direct Known Subclasses:
RecoverySnapshotter
public class NoDataSnapshotter
extends BeanAwareSnapshotter
implements io.debezium.spi.snapshot.Snapshotter
-
Field Summary
Fields inherited from class io.debezium.snapshot.mode.BeanAwareSnapshotter
beanRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidname()booleanshouldSnapshotData(boolean offsetExists, boolean snapshotInProgress) booleanbooleanbooleanshouldSnapshotSchema(boolean offsetExists, boolean snapshotInProgress) booleanMethods inherited from class io.debezium.snapshot.mode.BeanAwareSnapshotter
injectBeanRegistryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.spi.snapshot.Snapshotter
shouldStreamEventsStartingFromSnapshot, snapshotAborted, snapshotCompleted
-
Constructor Details
-
NoDataSnapshotter
public NoDataSnapshotter()
-
-
Method Details
-
name
- Specified by:
namein interfaceio.debezium.spi.snapshot.Snapshotter
-
configure
- Specified by:
configurein interfaceio.debezium.spi.common.Configurable
-
shouldSnapshotData
public boolean shouldSnapshotData(boolean offsetExists, boolean snapshotInProgress) - Specified by:
shouldSnapshotDatain interfaceio.debezium.spi.snapshot.Snapshotter
-
shouldSnapshotSchema
public boolean shouldSnapshotSchema(boolean offsetExists, boolean snapshotInProgress) - Specified by:
shouldSnapshotSchemain interfaceio.debezium.spi.snapshot.Snapshotter
-
shouldStream
public boolean shouldStream()- Specified by:
shouldStreamin interfaceio.debezium.spi.snapshot.Snapshotter
-
shouldSnapshotOnSchemaError
public boolean shouldSnapshotOnSchemaError()- Specified by:
shouldSnapshotOnSchemaErrorin interfaceio.debezium.spi.snapshot.Snapshotter
-
shouldSnapshotOnDataError
public boolean shouldSnapshotOnDataError()- Specified by:
shouldSnapshotOnDataErrorin interfaceio.debezium.spi.snapshot.Snapshotter
-