Class ReplicationMessage.NoopMessage
java.lang.Object
io.debezium.connector.postgresql.connection.ReplicationMessage.NoopMessage
- All Implemented Interfaces:
ReplicationMessage
- Enclosing interface:
ReplicationMessage
A special message type that is used to replace event filtered already at
MessageDecoder.
Enables PostgresStreamingChangeEventSource to advance LSN forward even in case of such messages.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.debezium.connector.postgresql.connection.ReplicationMessage
ReplicationMessage.Column, ReplicationMessage.ColumnTypeMetadata, ReplicationMessage.ColumnValue<T>, ReplicationMessage.NoopMessage, ReplicationMessage.Operation -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Instantprivate final ReplicationMessage.Operationprivate final Long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.connector.postgresql.connection.ReplicationMessage
isTransactionalMessage, shouldSchemaBeSynchronized
-
Field Details
-
transactionId
-
commitTime
-
operation
-
-
Constructor Details
-
NoopMessage
-
-
Method Details
-
isLastEventForLsn
public boolean isLastEventForLsn()- Specified by:
isLastEventForLsnin interfaceReplicationMessage- Returns:
- true if this is the last message in the batch of messages with same LSN
-
getTransactionId
- Specified by:
getTransactionIdin interfaceReplicationMessage- Returns:
- An id of transaction to which this change belongs; will not be present for non-transactional logical decoding messages for instance
-
getTable
- Specified by:
getTablein interfaceReplicationMessage- Returns:
- Table changed
-
getOperation
- Specified by:
getOperationin interfaceReplicationMessage- Returns:
- A data operation executed
-
getOldTupleList
- Specified by:
getOldTupleListin interfaceReplicationMessage- Returns:
- Set of original values of table columns, null for INSERT
-
getNewTupleList
- Specified by:
getNewTupleListin interfaceReplicationMessage- Returns:
- Set of new values of table columns, null for DELETE
-
getCommitTime
- Specified by:
getCommitTimein interfaceReplicationMessage- Returns:
- Transaction commit time for this change
-