public class NeverSnapshotter extends Object implements Snapshotter
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
NeverSnapshotter() |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
buildSnapshotQuery(TableId tableId)
Generate a valid postgres query string for the specified table, or an empty
Optional
to skip snapshotting this table (but that table will still be streamed from) |
void |
init(PostgresConnectorConfig config,
OffsetState sourceInfo,
SlotState slotState) |
boolean |
shouldSnapshot() |
boolean |
shouldStream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportSnapshot, shouldStreamEventsStartingFromSnapshot, snapshotCompleted, snapshotTableLockingStatement, snapshotTransactionIsolationLevelStatementpublic void init(PostgresConnectorConfig config, OffsetState sourceInfo, SlotState slotState)
init in interface Snapshotterpublic boolean shouldStream()
shouldStream in interface Snapshotterpublic boolean shouldSnapshot()
shouldSnapshot in interface Snapshotterpublic Optional<String> buildSnapshotQuery(TableId tableId)
SnapshotterOptional
to skip snapshotting this table (but that table will still be streamed from)buildSnapshotQuery in interface SnapshottertableId - the table to generate a query forCopyright © 2021 JBoss by Red Hat. All rights reserved.