Class SnapshotterWrapper
- java.lang.Object
-
- io.debezium.connector.postgresql.snapshot.SnapshotterWrapper
-
public class SnapshotterWrapper extends Object
This class is a small wrapper around the snapshotter that takes care of initialization and also lets us access the slotState (which we don't track currently)
-
-
Field Summary
Fields Modifier and Type Field Description private SlotStateslotStateprivate Snapshottersnapshotter
-
Constructor Summary
Constructors Constructor Description SnapshotterWrapper(Snapshotter snapshotter, PostgresConnectorConfig config, OffsetState offsetState, SlotState slotState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoesSlotExist()SnapshottergetSnapshotter()
-
-
-
Field Detail
-
snapshotter
private final Snapshotter snapshotter
-
slotState
private final SlotState slotState
-
-
Constructor Detail
-
SnapshotterWrapper
public SnapshotterWrapper(Snapshotter snapshotter, PostgresConnectorConfig config, OffsetState offsetState, SlotState slotState)
-
-
Method Detail
-
getSnapshotter
public Snapshotter getSnapshotter()
-
doesSlotExist
public boolean doesSlotExist()
-
-