Uses of Class
io.debezium.connector.postgresql.connection.Lsn
Packages that use Lsn
Package
Description
-
Uses of Lsn in io.debezium.connector.postgresql
Fields in io.debezium.connector.postgresql declared as LsnModifier and TypeFieldDescriptionprivate LsnPostgresOffsetContext.lastCommitLsnprivate LsnSourceInfo.lastCommitLsnprivate LsnPostgresOffsetContext.lastCompletelyProcessedLsnprivate LsnPostgresStreamingChangeEventSource.lastCompletelyProcessedLsnprivate LsnSourceInfo.lsnprivate LsnPostgresOffsetContext.streamingStoppingLsnMethods in io.debezium.connector.postgresql that return LsnModifier and TypeMethodDescription(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()SourceInfo.lsn()Methods in io.debezium.connector.postgresql with parameters of type LsnModifier and TypeMethodDescriptionprivate 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, Long xmin, TableId tableId, ReplicationMessage.Operation messageType) 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, Long xmin, ReplicationMessage.Operation messageType) update wal position for lsn events that do not have an associated table or schemavoidPostgresOffsetContext.updateWalPosition(Lsn lsn, Lsn lastCompletelyProcessedLsn, Instant commitTime, Long txId, Long xmin, TableId tableId, ReplicationMessage.Operation messageType) Constructors in io.debezium.connector.postgresql with parameters of type LsnModifierConstructorDescriptionprivatePostgresOffsetContext(PostgresConnectorConfig connectorConfig, Lsn lsn, Lsn lastCompletelyProcessedLsn, Lsn lastCommitLsn, Long txId, ReplicationMessage.Operation messageType, 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 LsnModifier and TypeFieldDescriptionprivate LsnPostgresReplicationConnection.defaultStartingPosprivate LsnWalPositionLocator.firstLsnReceivedstatic final LsnLsn.INVALID_LSNZero is used indicate an invalid pointer.private final LsnWalPositionLocator.lastCommitStoredLsnprivate final LsnWalPositionLocator.lastEventStoredLsnprivate LsnServerInfo.ReplicationSlot.latestFlushedLsnprivate LsnWalPositionLocator.lsnAfterLastEventStoredLsnprivate LsnServerInfo.ReplicationSlot.restartLsnprivate LsnWalPositionLocator.startStreamingLsnprivate LsnWalPositionLocator.txStartLsnFields in io.debezium.connector.postgresql.connection with type parameters of type LsnMethods in io.debezium.connector.postgresql.connection that return LsnModifier and TypeMethodDescriptionWalPositionLocator.getLastCommitStoredLsn()WalPositionLocator.getLastEventStoredLsn()ReplicationStream.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.ReplicationStream.startLsn()Returns the value for the LSN form which the streaming is executed.private LsnPostgresConnection.tryFallbackToRestartLsn(String slotName, String pluginName, String database, ResultSet rs) private LsnPostgresConnection.tryParseLsn(String slotName, String pluginName, String database, ResultSet rs, String column) static Lsnstatic LsnCreate 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 LsnModifier and TypeMethodDescriptionWalPositionLocator.resumeFromLsn(Lsn currentLsn, ReplicationMessage message) Methods in io.debezium.connector.postgresql.connection with parameters of type LsnModifier and TypeMethodDescriptionintprivate ReplicationStreamPostgresReplicationConnection.createReplicationStream(Lsn startLsn, WalPositionLocator walPosition) voidSends a message to the server informing it about that latest position in the WAL that has successfully been processed.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, BiFunction<org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder, Function<Integer, Boolean>, org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder> configurator) PostgresReplicationConnection.startStreaming(Lsn offset, WalPositionLocator walPosition) ReplicationConnection.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 LsnModifierConstructorDescriptionprotectedReplicationSlot(boolean active, Lsn latestFlushedLsn, Lsn restartLsn, Long catalogXmin) WalPositionLocator(Lsn lastCommitStoredLsn, Lsn lastEventStoredLsn, ReplicationMessage.Operation lastProcessedMessageType) -
Uses of Lsn in io.debezium.connector.postgresql.connection.pgoutput
Methods in io.debezium.connector.postgresql.connection.pgoutput with parameters of type LsnModifier and TypeMethodDescriptionbooleanPgOutputMessageDecoder.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 LsnModifier and TypeFieldDescriptionprivate final LsnSlotState.latestFlushedLsnprivate final LsnOffsetState.lsnprivate final LsnSlotState.restartLsnprivate final LsnSlotCreationResult.walStartLsnMethods in io.debezium.connector.postgresql.spi that return LsnModifier and TypeMethodDescriptionOffsetState.lastSeenLsn()SlotState.slotLastFlushedLsn()SlotState.slotRestartLsn()SlotCreationResult.startLsn()Constructors in io.debezium.connector.postgresql.spi with parameters of type Lsn