void |
EventBuffer.add(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
An entry point to the buffer that should be used by BinlogReader to push events.
|
private void |
EventBuffer.beginTransaction(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
|
private void |
EventBuffer.completeTransaction(MySqlPartition partition,
MySqlOffsetContext offsetContext,
boolean wellFormed,
com.github.shyiko.mysql.binlog.event.Event event) |
Sends all events from the buffer int a final handler.
|
private void |
EventBuffer.consumeEvent(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
|
private void |
MySqlDatabaseSchema.emitChangeEvent(MySqlPartition partition,
MySqlOffsetContext offset,
List<SchemaChangeEvent> schemaChangeEvents,
String sanitizedDbName,
DdlParserListener.Event event,
TableId tableId,
SchemaChangeEvent.SchemaChangeEventType type,
boolean snapshot) |
|
void |
MySqlStreamingChangeEventSource.execute(ChangeEventSource.ChangeEventSourceContext context,
MySqlPartition partition,
MySqlOffsetContext offsetContext) |
|
private <T extends com.github.shyiko.mysql.binlog.event.EventData,U> void |
MySqlStreamingChangeEventSource.handleChange(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event,
String changeType,
Class<T> eventDataClass,
MySqlStreamingChangeEventSource.TableIdProvider<T> tableIdProvider,
MySqlStreamingChangeEventSource.RowsProvider<T,U> rowsProvider,
MySqlStreamingChangeEventSource.BinlogChangeEmitter<U> changeEmitter) |
|
protected void |
MySqlStreamingChangeEventSource.handleDelete(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
Generate source records for the supplied event with an DeleteRowsEventData.
|
protected void |
MySqlStreamingChangeEventSource.handleEvent(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
|
protected void |
MySqlStreamingChangeEventSource.handleInsert(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
Generate source records for the supplied event with an WriteRowsEventData.
|
protected void |
MySqlStreamingChangeEventSource.handleQueryEvent(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
Handle the supplied event with an QueryEventData by possibly recording the DDL statements as changes in the
MySQL schemas.
|
protected void |
MySqlStreamingChangeEventSource.handleServerHeartbeat(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
Handle the supplied event that is sent by a primary to a replica to let the replica know that the primary is still alive.
|
private void |
MySqlStreamingChangeEventSource.handleTransactionCompletion(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
|
protected void |
MySqlStreamingChangeEventSource.handleUpdate(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
Generate source records for the supplied event with an UpdateRowsEventData.
|
protected void |
MySqlStreamingChangeEventSource.handleUpdateTableMetadata(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
Handle a change in the table metadata.
|
private void |
MySqlStreamingChangeEventSource.informAboutUnknownTableIfRequired(MySqlPartition partition,
MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event,
TableId tableId,
String typeToLog) |
|
private List<SchemaChangeEvent> |
MySqlDatabaseSchema.parseDdl(MySqlPartition partition,
String ddlStatements,
String databaseName,
MySqlOffsetContext offset,
Instant sourceTime,
boolean snapshot) |
|
List<SchemaChangeEvent> |
MySqlDatabaseSchema.parseSnapshotDdl(MySqlPartition partition,
String ddlStatements,
String databaseName,
MySqlOffsetContext offset,
Instant sourceTime) |
|
List<SchemaChangeEvent> |
MySqlDatabaseSchema.parseStreamingDdl(MySqlPartition partition,
String ddlStatements,
String databaseName,
MySqlOffsetContext offset,
Instant sourceTime) |
|
protected AbstractSnapshotChangeEventSource.SnapshotContext<MySqlPartition,MySqlOffsetContext> |
MySqlSnapshotChangeEventSource.prepare(MySqlPartition partition) |
|
private boolean |
MySqlConnectorTask.validateAndLoadDatabaseHistory(MySqlConnectorConfig config,
MySqlPartition partition,
MySqlOffsetContext offset,
MySqlDatabaseSchema schema) |
|