Package io.debezium.snapshot.mode
Class AlwaysSnapshotter
java.lang.Object
io.debezium.snapshot.mode.BeanAwareSnapshotter
io.debezium.snapshot.mode.AlwaysSnapshotter
- All Implemented Interfaces:
BeanRegistryAware,Configurable,Snapshotter
-
Field Summary
FieldsFields 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
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
AlwaysSnapshotter
public AlwaysSnapshotter()
-
-
Method Details
-
name
- Specified by:
namein interfaceSnapshotter
-
configure
- Specified by:
configurein interfaceConfigurable
-
shouldSnapshotData
public boolean shouldSnapshotData(boolean offsetExists, boolean snapshotInProgress) - Specified by:
shouldSnapshotDatain interfaceSnapshotter
-
shouldSnapshotSchema
public boolean shouldSnapshotSchema(boolean offsetExists, boolean snapshotInProgress) - Specified by:
shouldSnapshotSchemain interfaceSnapshotter
-
shouldStream
public boolean shouldStream()- Specified by:
shouldStreamin interfaceSnapshotter
-
shouldSnapshotOnSchemaError
public boolean shouldSnapshotOnSchemaError()- Specified by:
shouldSnapshotOnSchemaErrorin interfaceSnapshotter
-
shouldSnapshotOnDataError
public boolean shouldSnapshotOnDataError()- Specified by:
shouldSnapshotOnDataErrorin interfaceSnapshotter
-