Class: Mysql::FlydataBinlogQueryDispatcher

Inherits:
BinlogQueryDispatcher show all
Defined in:
lib/flydata/fluent-plugins/mysql/binlog_query_dispatcher.rb

Instance Method Summary collapse

Methods inherited from BinlogQueryDispatcher

#dispatch

Constructor Details

#initialize(context) ⇒ FlydataBinlogQueryDispatcher

Returns a new instance of FlydataBinlogQueryDispatcher.


57
58
59
60
61
62
# File 'lib/flydata/fluent-plugins/mysql/binlog_query_dispatcher.rb', line 57

def initialize(context)
  @handlers = [
    AlterTableQueryHandler.new(context),
    TruncateTableQueryHandler.new(context),
  ]
end