Package io.debezium.snapshot.mode
Class ConfigurationBasedSnapshotter
java.lang.Object
io.debezium.snapshot.mode.BeanAwareSnapshotter
io.debezium.snapshot.mode.ConfigurationBasedSnapshotter
- All Implemented Interfaces:
BeanRegistryAware,io.debezium.spi.common.Configurable,io.debezium.spi.snapshot.Snapshotter
public class ConfigurationBasedSnapshotter
extends BeanAwareSnapshotter
implements io.debezium.spi.snapshot.Snapshotter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanFields 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
-
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:
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
-