Class InitialOnlySnapshotter
java.lang.Object
io.debezium.connector.postgresql.snapshot.QueryingSnapshotter
io.debezium.connector.postgresql.snapshot.InitialOnlySnapshotter
- All Implemented Interfaces:
Snapshotter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(PostgresConnectorConfig config, OffsetState sourceInfo, SlotState slotState) booleanbooleanMethods inherited from class io.debezium.connector.postgresql.snapshot.QueryingSnapshotter
buildSnapshotQuery, snapshotTableLockingStatement, snapshotTransactionIsolationLevelStatementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.connector.postgresql.spi.Snapshotter
shouldStreamEventsStartingFromSnapshot, snapshotAborted, snapshotCompleted
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
sourceInfo
-
-
Constructor Details
-
InitialOnlySnapshotter
public InitialOnlySnapshotter()
-
-
Method Details
-
init
- Specified by:
initin interfaceSnapshotter- Overrides:
initin classQueryingSnapshotter
-
shouldStream
public boolean shouldStream()- Returns:
- true if the snapshotter should stream after taking a snapshot
-
shouldSnapshot
public boolean shouldSnapshot()- Returns:
- true if the snapshotter should take a snapshot
-