Package io.debezium.snapshot.mode
Class NeverSnapshotter
java.lang.Object
io.debezium.snapshot.mode.NeverSnapshotter
- All Implemented Interfaces:
Configurable
,Snapshotter
Currently only valid for MySQL. Deprecation is in evaluation for Debezium 3.0
-
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 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
-
Constructor Details
-
NeverSnapshotter
public NeverSnapshotter()
-
-
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
-