| Modifier and Type | Field and Description |
|---|---|
private SourceInfo |
RecordMakers.source |
private SourceInfo |
MySqlTaskContext.source |
private SourceInfo |
BinlogReader.source |
| Modifier and Type | Method and Description |
|---|---|
SourceInfo |
MySqlTaskContext.source() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MySqlSchema.applyDdl(SourceInfo source,
String databaseName,
String ddlStatements,
DdlChanges.DatabaseStatementStringConsumer statementConsumer)
Apply the supplied DDL statements to this database schema and record the history.
|
protected void |
MySqlSchema.changeTablesAndRecordInHistory(SourceInfo source,
Callable<Void> changeFunction)
Apply the given function to change or alter the current set of table definitions, and record the new state of the table
definitions in the database history by dropping tables that were removed and dropping and re-creating tables that were
changed.
|
int |
RecordMakers.Converter.delete(SourceInfo source,
Object[] row,
int rowNumber,
int numberOfRows,
BitSet includedColumns,
long ts,
BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) |
int |
RecordMakers.Converter.insert(SourceInfo source,
Object[] row,
int rowNumber,
int numberOfRows,
BitSet includedColumns,
long ts,
BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) |
void |
MySqlSchema.loadFromDatabase(JdbcConnection jdbc,
SourceInfo source)
Load the schema for the databases using JDBC database metadata.
|
void |
MySqlTaskContext.loadHistory(SourceInfo startingPoint)
Load the database schema information using the previously-recorded history, and stop reading the history when the
the history reaches the supplied starting point.
|
void |
MySqlSchema.loadHistory(SourceInfo startingPoint)
Load the database schema information using the previously-recorded history, and stop reading the history when the
the history reaches the supplied starting point.
|
int |
RecordMakers.Converter.read(SourceInfo source,
Object[] row,
int rowNumber,
int numberOfRows,
BitSet includedColumns,
long ts,
BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) |
int |
RecordMakers.Converter.update(SourceInfo source,
Object[] before,
Object[] after,
int rowNumber,
int numberOfRows,
BitSet includedColumns,
long ts,
BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> consumer) |
| Constructor and Description |
|---|
RecordMakers(MySqlSchema schema,
SourceInfo source,
TopicSelector topicSelector)
Create the record makers using the supplied components.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.