Method: Riddle::Configuration::SQLSource#initialize

Defined in:
lib/riddle/configuration/sql_source.rb

#initialize(name, type) ⇒ SQLSource

Returns a new instance of SQLSource.



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/riddle/configuration/sql_source.rb', line 25

def initialize(name, type)
  @name = name
  @type = type

  @sql_query_pre            = []
  @sql_joined_field         = []
  @sql_file_field           = []
  @sql_attr_uint            = []
  @sql_attr_bool            = []
  @sql_attr_bigint          = []
  @sql_attr_timestamp       = []
  @sql_attr_str2ordinal     = []
  @sql_attr_float           = []
  @sql_attr_multi           = []
  @sql_attr_string          = []
  @sql_attr_str2wordcount   = []
  @sql_attr_json            = []
  @sql_field_string         = []
  @sql_field_str2wordcount  = []
  @sql_query_post           = []
  @sql_query_post_index     = []
  @unpack_zlib              = []
  @unpack_mysqlcompress     = []
end