Uses of Class
io.debezium.connector.postgresql.connection.Lsn
-
Packages that use Lsn Package Description io.debezium.connector.postgresql io.debezium.connector.postgresql.connection io.debezium.connector.postgresql.connection.pgoutput io.debezium.connector.postgresql.spi -
-
Uses of Lsn in io.debezium.connector.postgresql
Fields in io.debezium.connector.postgresql declared as Lsn Modifier and Type Field Description private LsnPostgresOffsetContext. lastCommitLsnprivate LsnSourceInfo. lastCommitLsnprivate LsnPostgresOffsetContext. lastCompletelyProcessedLsnprivate LsnPostgresStreamingChangeEventSource. lastCompletelyProcessedLsnprivate LsnSourceInfo. lsnprivate LsnPostgresOffsetContext. streamingStoppingLsnMethods in io.debezium.connector.postgresql that return Lsn Modifier and Type Method Description (package private) LsnPostgresOffsetContext. getStreamingStoppingLsn()Returns the LSN that the streaming phase should stream events up to or null if a stopping point is not set.private LsnPostgresSnapshotChangeEventSource. getTransactionStartLsn()(package private) LsnPostgresOffsetContext. lastCommitLsn()(package private) LsnPostgresOffsetContext. lastCompletelyProcessedLsn()(package private) LsnPostgresOffsetContext. lsn()LsnSourceInfo. lsn()Methods in io.debezium.connector.postgresql with parameters of type Lsn Modifier and Type Method Description private voidPostgresStreamingChangeEventSource. commitMessage(PostgresPartition partition, PostgresOffsetContext offsetContext, Lsn lsn)static PostgresOffsetContextPostgresOffsetContext. initialContext(PostgresConnectorConfig connectorConfig, PostgresConnection jdbcConnection, Clock clock, Lsn lastCommitLsn, Lsn lastCompletelyProcessedLsn)voidPostgresOffsetContext. setStreamingStoppingLsn(Lsn streamingStoppingLsn)protected SourceInfoSourceInfo. update(Lsn lsn, Instant commitTime, Long txId, TableId tableId, Long xmin)Updates the source with information about a particular received or read event.voidPostgresOffsetContext. updateCommitPosition(Lsn lsn, Lsn lastCompletelyProcessedLsn)protected SourceInfoSourceInfo. updateLastCommit(Lsn lsn)Updates the source with the LSN of the last committed transaction.voidPostgresOffsetContext. updateWalPosition(Lsn lsn, Lsn lastCompletelyProcessedLsn, Instant commitTime, Long txId, TableId tableId, Long xmin)Constructors in io.debezium.connector.postgresql with parameters of type Lsn Constructor Description PostgresOffsetContext(PostgresConnectorConfig connectorConfig, Lsn lsn, Lsn lastCompletelyProcessedLsn, Lsn lastCommitLsn, Long txId, Instant time, boolean snapshot, boolean lastSnapshotRecord, TransactionContext transactionContext, IncrementalSnapshotContext<TableId> incrementalSnapshotContext) -
Uses of Lsn in io.debezium.connector.postgresql.connection
Fields in io.debezium.connector.postgresql.connection declared as Lsn Modifier and Type Field Description private LsnPostgresReplicationConnection. defaultStartingPosprivate LsnWalPositionLocator. firstLsnReceivedstatic LsnLsn. INVALID_LSNZero is used indicate an invalid pointer.private LsnWalPositionLocator. lastCommitStoredLsnprivate LsnWalPositionLocator. lastEventStoredLsnprivate LsnServerInfo.ReplicationSlot. latestFlushedLsnprivate LsnWalPositionLocator. lsnAfterLastEventStoredLsnprivate LsnServerInfo.ReplicationSlot. restartLsnprivate LsnWalPositionLocator. startStreamingLsnprivate LsnWalPositionLocator. txStartLsnMethods in io.debezium.connector.postgresql.connection that return Lsn Modifier and Type Method Description LsnWalPositionLocator. getLastEventStoredLsn()LsnReplicationStream. lastReceivedLsn()Returns the value for the latest server received LSN during a read operation.protected LsnServerInfo.ReplicationSlot. latestFlushedLsn()Represents the `confirmed_flushed_lsn` field of the replication slot.private LsnPostgresConnection. parseConfirmedFlushLsn(String slotName, String pluginName, String database, ResultSet rs)Obtains the LSN to resume streaming from.private LsnPostgresConnection. parseRestartLsn(String slotName, String pluginName, String database, ResultSet rs)protected LsnServerInfo.ReplicationSlot. restartLsn()Represents the `restart_lsn` field of the replication slot.LsnReplicationStream. startLsn()Returns the value for the LSN form which the streaming is executed.private LsnPostgresConnection. tryParseLsn(String slotName, String pluginName, String database, ResultSet rs, String column)static LsnLsn. valueOf(Long value)static LsnLsn. valueOf(String strValue)Create LSN instance by string represent LSN.static LsnLsn. valueOf(org.postgresql.replication.LogSequenceNumber value)Methods in io.debezium.connector.postgresql.connection that return types with arguments of type Lsn Modifier and Type Method Description Optional<Lsn>WalPositionLocator. resumeFromLsn(Lsn currentLsn, ReplicationMessage message)Methods in io.debezium.connector.postgresql.connection with parameters of type Lsn Modifier and Type Method Description intLsn. compareTo(Lsn o)private ReplicationStreamPostgresReplicationConnection. createReplicationStream(Lsn startLsn, WalPositionLocator walPosition)voidReplicationStream. flushLsn(Lsn lsn)Sends a message to the server informing it about that latest position in the WAL that has successfully been processed.Optional<Lsn>WalPositionLocator. resumeFromLsn(Lsn currentLsn, ReplicationMessage message)booleanAbstractMessageDecoder. shouldMessageBeSkipped(ByteBuffer buffer, Lsn lastReceivedLsn, Lsn startLsn, WalPositionLocator walPosition)booleanMessageDecoder. shouldMessageBeSkipped(ByteBuffer buffer, Lsn lastReceivedLsn, Lsn startLsn, WalPositionLocator walPosition)A callback into the decoder allowing it to decide whether the supplied message should be processed by the decoder or whether it can be skipped.booleanWalPositionLocator. skipMessage(Lsn lsn)Decides whether the message with given LSN should be removed or not based on previously located LSN point.private org.postgresql.replication.PGReplicationStreamPostgresReplicationConnection. startPgReplicationStream(Lsn lsn, Function<org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder,org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder> configurator)ReplicationStreamPostgresReplicationConnection. startStreaming(Lsn offset, WalPositionLocator walPosition)ReplicationStreamReplicationConnection. startStreaming(Lsn offset, WalPositionLocator walPosition)Opens a stream for reading logical replication changes from a given LSN position.Constructors in io.debezium.connector.postgresql.connection with parameters of type Lsn Constructor Description ReplicationSlot(boolean active, Lsn latestFlushedLsn, Lsn restartLsn, Long catalogXmin)WalPositionLocator(Lsn lastCommitStoredLsn, Lsn lastEventStoredLsn) -
Uses of Lsn in io.debezium.connector.postgresql.connection.pgoutput
Methods in io.debezium.connector.postgresql.connection.pgoutput with parameters of type Lsn Modifier and Type Method Description booleanPgOutputMessageDecoder. shouldMessageBeSkipped(ByteBuffer buffer, Lsn lastReceivedLsn, Lsn startLsn, WalPositionLocator walPosition) -
Uses of Lsn in io.debezium.connector.postgresql.spi
Fields in io.debezium.connector.postgresql.spi declared as Lsn Modifier and Type Field Description private LsnSlotState. latestFlushedLsnprivate LsnOffsetState. lsnprivate LsnSlotState. restartLsnprivate LsnSlotCreationResult. walStartLsnMethods in io.debezium.connector.postgresql.spi that return Lsn Modifier and Type Method Description LsnOffsetState. lastSeenLsn()LsnSlotState. slotLastFlushedLsn()LsnSlotState. slotRestartLsn()LsnSlotCreationResult. startLsn()Constructors in io.debezium.connector.postgresql.spi with parameters of type Lsn Constructor Description OffsetState(Lsn lsn, Long txId, Long xmin, Instant lastCommitTs, boolean isSnapshot)SlotState(Lsn lastFlushLsn, Lsn restartLsn, Long catXmin, boolean active)
-