public abstract class QueryingSnapshotter extends Object implements Snapshotter
| Constructor and Description |
|---|
QueryingSnapshotter() |
| 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportSnapshot, shouldSnapshot, shouldStream, shouldStreamEventsStartingFromSnapshot, snapshotCompleted, snapshotTableLockingStatement, snapshotTransactionIsolationLevelStatementpublic void init(PostgresConnectorConfig config, OffsetState sourceInfo, SlotState slotState)
init 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.