Class SqlServerOffsetContext

java.lang.Object
io.debezium.pipeline.CommonOffsetContext<SourceInfo>
io.debezium.connector.sqlserver.SqlServerOffsetContext
All Implemented Interfaces:
OffsetContext

public class SqlServerOffsetContext extends CommonOffsetContext<SourceInfo>
  • Field Details

    • sourceInfoSchema

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

      private final TransactionContext transactionContext
    • incrementalSnapshotContext

      private final IncrementalSnapshotContext<TableId> incrementalSnapshotContext
    • eventSerialNo

      private long eventSerialNo
      The index of the current event within the current transaction.
  • Constructor Details

  • Method Details

    • getOffset

      public Map<String,?> getOffset()
    • getSourceInfoSchema

      public org.apache.kafka.connect.data.Schema getSourceInfoSchema()
    • getChangePosition

      public TxLogPosition getChangePosition()
    • getEventSerialNo

      public long getEventSerialNo()
    • setChangePosition

      public void setChangePosition(TxLogPosition position, int eventCount)
    • isSnapshotCompleted

      public boolean isSnapshotCompleted()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • event

      public void event(io.debezium.spi.schema.DataCollectionId tableId, Instant timestamp)
    • getTransactionContext

      public TransactionContext getTransactionContext()
    • getIncrementalSnapshotContext

      public IncrementalSnapshotContext<?> getIncrementalSnapshotContext()