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
Fields inherited from class io.debezium.snapshot.mode.BeanAwareSnapshotter
beanRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
name()
boolean
shouldSnapshotData
(boolean offsetExists, boolean snapshotInProgress) boolean
boolean
boolean
shouldSnapshotSchema
(boolean offsetExists, boolean snapshotInProgress) boolean
Methods inherited from class io.debezium.snapshot.mode.BeanAwareSnapshotter
injectBeanRegistry
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
name
in interfaceSnapshotter
-
configure
- Specified by:
configure
in interfaceConfigurable
-
shouldSnapshotData
public boolean shouldSnapshotData(boolean offsetExists, boolean snapshotInProgress) - Specified by:
shouldSnapshotData
in interfaceSnapshotter
-
shouldSnapshotSchema
public boolean shouldSnapshotSchema(boolean offsetExists, boolean snapshotInProgress) - Specified by:
shouldSnapshotSchema
in interfaceSnapshotter
-
shouldStream
public boolean shouldStream()- Specified by:
shouldStream
in interfaceSnapshotter
-
shouldSnapshotOnSchemaError
public boolean shouldSnapshotOnSchemaError()- Specified by:
shouldSnapshotOnSchemaError
in interfaceSnapshotter
-
shouldSnapshotOnDataError
public boolean shouldSnapshotOnDataError()- Specified by:
shouldSnapshotOnDataError
in interfaceSnapshotter
-