Interface RecordMakers.Converter
- Enclosing class:
- RecordMakers
protected static interface RecordMakers.Converter
-
Method Summary
Modifier and TypeMethodDescriptionintdelete(SourceInfo source, Object[] row, int rowNumber, int numberOfRows, BitSet includedColumns, Instant ts, BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) intinsert(SourceInfo source, Object[] row, int rowNumber, int numberOfRows, BitSet includedColumns, Instant ts, BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) intread(SourceInfo source, Object[] row, int rowNumber, int numberOfRows, BitSet includedColumns, Instant ts, BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) intupdate(SourceInfo source, Object[] before, Object[] after, int rowNumber, int numberOfRows, BitSet includedColumns, Instant ts, BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer)
-
Method Details
-
read
int read(SourceInfo source, Object[] row, int rowNumber, int numberOfRows, BitSet includedColumns, Instant ts, BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) throws InterruptedException - Throws:
InterruptedException
-
insert
int insert(SourceInfo source, Object[] row, int rowNumber, int numberOfRows, BitSet includedColumns, Instant ts, BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) throws InterruptedException - Throws:
InterruptedException
-
update
int update(SourceInfo source, Object[] before, Object[] after, int rowNumber, int numberOfRows, BitSet includedColumns, Instant ts, BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) throws InterruptedException - Throws:
InterruptedException
-
delete
int delete(SourceInfo source, Object[] row, int rowNumber, int numberOfRows, BitSet includedColumns, Instant ts, BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) throws InterruptedException - Throws:
InterruptedException
-