Class PgOutputTruncateReplicationMessage
java.lang.Object
io.debezium.connector.postgresql.connection.pgoutput.PgOutputReplicationMessage
io.debezium.connector.postgresql.connection.pgoutput.PgOutputTruncateReplicationMessage
- All Implemented Interfaces:
ReplicationMessage
-
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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPgOutputTruncateReplicationMessage(ReplicationMessage.Operation op, String table, Instant commitTimestamp, long transactionId, boolean lastTableInTruncate) -
Method Summary
Methods inherited from class io.debezium.connector.postgresql.connection.pgoutput.PgOutputReplicationMessage
getCommitTime, getNewTupleList, getOldTupleList, getOperation, getTable, getTransactionId, getValue, shouldSchemaBeSynchronizedMethods 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
-
Field Details
-
lastTableInTruncate
private final boolean lastTableInTruncate
-
-
Constructor Details
-
PgOutputTruncateReplicationMessage
public PgOutputTruncateReplicationMessage(ReplicationMessage.Operation op, String table, Instant commitTimestamp, long transactionId, boolean lastTableInTruncate)
-
-
Method Details
-
isLastEventForLsn
public boolean isLastEventForLsn()- Specified by:
isLastEventForLsnin interfaceReplicationMessage- Overrides:
isLastEventForLsnin classPgOutputReplicationMessage- Returns:
- true if this is the last message in the batch of messages with same LSN
-