Module: Fluent::FlydataSyncQueryBased

Defined in:
lib/flydata/fluent-plugins/flydata_plugin_ext/flydata_sync_query_based.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.include_modules(base) ⇒ Object


6
7
8
9
# File 'lib/flydata/fluent-plugins/flydata_plugin_ext/flydata_sync_query_based.rb', line 6

def self.include_modules(base)
  FlydataSyncDiffBased.include_modules(base)
  base.send(:include, self)
end

.included(base) ⇒ Object


11
12
13
14
15
16
17
18
19
20
# File 'lib/flydata/fluent-plugins/flydata_plugin_ext/flydata_sync_query_based.rb', line 11

def self.included(base)
  base.class_eval do
    config_param :host, :string
    config_param :port, :integer
    config_param :username, :string
    config_param :password, :string
    config_param :database, :string
    config_param :schema, :string, default: nil
  end
end

Instance Method Details

#configure(conf) ⇒ Object


22
23
24
# File 'lib/flydata/fluent-plugins/flydata_plugin_ext/flydata_sync_query_based.rb', line 22

def configure(conf)
  super
end