public class SnapshotChangeRecordEmitter extends RelationalChangeRecordEmitter
ChangeRecordEmitter.Receiver| Modifier and Type | Field and Description |
|---|---|
private Object[] |
row |
logger, PK_UPDATE_NEWKEY_FIELD, PK_UPDATE_OLDKEY_FIELD| Constructor and Description |
|---|
SnapshotChangeRecordEmitter(OffsetContext offset,
Object[] row,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
getNewColumnValues()
Returns the new row state in case of a CREATE or READ.
|
protected Object[] |
getOldColumnValues()
Returns the old row state in case of an UPDATE or DELETE.
|
protected Envelope.Operation |
getOperation()
Returns the operation done by the represented change.
|
emitChangeRecords, emitCreateRecord, emitDeleteRecord, emitReadRecord, emitUpdateRecord, skipEmptyMessagesgetClock, getOffsetprivate final Object[] row
public SnapshotChangeRecordEmitter(OffsetContext offset, Object[] row, Clock clock)
protected Envelope.Operation getOperation()
RelationalChangeRecordEmittergetOperation in class RelationalChangeRecordEmitterprotected Object[] getOldColumnValues()
RelationalChangeRecordEmittergetOldColumnValues in class RelationalChangeRecordEmitterprotected Object[] getNewColumnValues()
RelationalChangeRecordEmittergetNewColumnValues in class RelationalChangeRecordEmitterCopyright © 2021 JBoss by Red Hat. All rights reserved.