Package io.debezium.snapshot.mode
Class ConfigurationBasedSnapshotter
java.lang.Object
io.debezium.snapshot.mode.BeanAwareSnapshotter
io.debezium.snapshot.mode.ConfigurationBasedSnapshotter
- All Implemented Interfaces:
BeanRegistryAware
,Configurable
,Snapshotter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
private boolean
private boolean
Fields inherited from class io.debezium.snapshot.mode.BeanAwareSnapshotter
beanRegistry
-
Constructor Summary
Constructors -
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
-
snapshotData
private boolean snapshotData -
snapshotSchema
private boolean snapshotSchema -
stream
private boolean stream -
snapshotOnSchemaError
private boolean snapshotOnSchemaError -
snapshotOnDataError
private boolean snapshotOnDataError
-
-
Constructor Details
-
ConfigurationBasedSnapshotter
public ConfigurationBasedSnapshotter()
-
-
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
-