Class PgOutputTruncateReplicationMessage
- java.lang.Object
-
- io.debezium.connector.postgresql.connection.pgoutput.PgOutputReplicationMessage
-
- io.debezium.connector.postgresql.connection.pgoutput.PgOutputTruncateReplicationMessage
-
- All Implemented Interfaces:
ReplicationMessage
public class PgOutputTruncateReplicationMessage extends PgOutputReplicationMessage
-
-
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, ReplicationMessage.TransactionMessage
-
-
Field Summary
Fields Modifier and Type Field Description private booleanlastTableInTruncate
-
Constructor Summary
Constructors Constructor Description PgOutputTruncateReplicationMessage(ReplicationMessage.Operation op, String table, Instant commitTimestamp, long transactionId, boolean lastTableInTruncate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLastEventForLsn()-
Methods inherited from class io.debezium.connector.postgresql.connection.pgoutput.PgOutputReplicationMessage
getCommitTime, getNewTupleList, getOldTupleList, getOperation, getTable, getTransactionId, getValue, hasTypeMetadata, shouldSchemaBeSynchronized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.connector.postgresql.connection.ReplicationMessage
isTransactionalMessage
-
-
-
-
Constructor Detail
-
PgOutputTruncateReplicationMessage
public PgOutputTruncateReplicationMessage(ReplicationMessage.Operation op, String table, Instant commitTimestamp, long transactionId, boolean lastTableInTruncate)
-
-
Method Detail
-
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
-
-