Class OracleOffsetContext

java.lang.Object
io.debezium.connector.oracle.OracleOffsetContext
All Implemented Interfaces:
OffsetContext

public class OracleOffsetContext extends Object implements OffsetContext
  • Field Details

    • SNAPSHOT_COMPLETED_KEY

      public static final String SNAPSHOT_COMPLETED_KEY
      See Also:
    • SNAPSHOT_PENDING_TRANSACTIONS_KEY

      public static final String SNAPSHOT_PENDING_TRANSACTIONS_KEY
      See Also:
    • SNAPSHOT_SCN_KEY

      public static final String SNAPSHOT_SCN_KEY
      See Also:
    • sourceInfoSchema

      private final org.apache.kafka.connect.data.Schema sourceInfoSchema
    • sourceInfo

      private final SourceInfo sourceInfo
    • transactionContext

      private final TransactionContext transactionContext
    • incrementalSnapshotContext

      private final IncrementalSnapshotContext<TableId> incrementalSnapshotContext
    • snapshotScn

      private final Scn snapshotScn
      SCN that was used for the initial consistent snapshot. We keep track of this field because it's a cutoff for emitting DDL statements, in case we start mining _before_ the snapshot SCN to cover transactions that were ongoing at the time the snapshot was taken.
    • snapshotPendingTransactions

      private Map<String,Scn> snapshotPendingTransactions
      Map of (txid, start SCN) for all transactions in progress at the time the snapshot was taken.
    • snapshotCompleted

      private boolean snapshotCompleted
      Whether a snapshot has been completed or not.
  • Constructor Details

  • Method Details