Package io.debezium.relational
Class SnapshotChangeRecordEmitter<P extends Partition>
java.lang.Object
io.debezium.pipeline.AbstractChangeRecordEmitter<P,TableSchema>
io.debezium.relational.RelationalChangeRecordEmitter<P>
io.debezium.relational.SnapshotChangeRecordEmitter<P>
- All Implemented Interfaces:
ChangeRecordEmitter<P>
public class SnapshotChangeRecordEmitter<P extends Partition>
extends RelationalChangeRecordEmitter<P>
Emits change data based on a single row read via JDBC.
- Author:
- Jiri Pechanec
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.debezium.pipeline.spi.ChangeRecordEmitter
ChangeRecordEmitter.Receiver<P extends Partition> -
Field Summary
FieldsFields inherited from class io.debezium.relational.RelationalChangeRecordEmitter
PK_UPDATE_NEWKEY_FIELD, PK_UPDATE_OLDKEY_FIELD -
Constructor Summary
ConstructorsConstructorDescriptionSnapshotChangeRecordEmitter(P partition, OffsetContext offset, Object[] row, io.debezium.util.Clock clock, RelationalDatabaseConnectorConfig connectorConfig) -
Method Summary
Methods inherited from class io.debezium.relational.RelationalChangeRecordEmitter
emitChangeRecords, emitCreateRecord, emitDeleteRecord, emitReadRecord, emitTruncateRecord, emitUpdateAsPrimaryKeyChangeRecord, emitUpdateRecord, skipEmptyMessagesMethods inherited from class io.debezium.pipeline.AbstractChangeRecordEmitter
getClock, getOffset, getPartition, skipMessagesWithoutChangeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.pipeline.spi.ChangeRecordEmitter
ignoreRecord
-
Field Details
-
row
-
-
Constructor Details
-
SnapshotChangeRecordEmitter
public SnapshotChangeRecordEmitter(P partition, OffsetContext offset, Object[] row, io.debezium.util.Clock clock, RelationalDatabaseConnectorConfig connectorConfig)
-
-
Method Details
-
getOperation
Description copied from interface:ChangeRecordEmitterReturns the operation done by the represented change. -
getOldColumnValues
Description copied from class:RelationalChangeRecordEmitterReturns the old row state in case of an UPDATE or DELETE.- Specified by:
getOldColumnValuesin classRelationalChangeRecordEmitter<P extends Partition>
-
getNewColumnValues
Description copied from class:RelationalChangeRecordEmitterReturns the new row state in case of a CREATE or READ.- Specified by:
getNewColumnValuesin classRelationalChangeRecordEmitter<P extends Partition>
-