Package io.debezium.connector.mongodb
Class CustomTestSnapshot
java.lang.Object
io.debezium.connector.mongodb.CustomTestSnapshot
- All Implemented Interfaces:
io.debezium.spi.common.Configurable,io.debezium.spi.snapshot.Snapshotter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidname()booleanshouldSnapshotData(boolean offsetExists, boolean snapshotInProgress) booleanbooleanbooleanshouldSnapshotSchema(boolean offsetExists, boolean snapshotInProgress) booleanMethods 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
-
CustomTestSnapshot
public CustomTestSnapshot()
-
-
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
-
shouldStream
public boolean shouldStream()- Specified by:
shouldStreamin interfaceio.debezium.spi.snapshot.Snapshotter
-
shouldSnapshotSchema
public boolean shouldSnapshotSchema(boolean offsetExists, boolean snapshotInProgress) - Specified by:
shouldSnapshotSchemain 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
-