module Fluent::Mixin::TypeConverter
Attributes
types[RW]
types_delimiter[RW]
types_label_delimiter[RW]
Public Instance Methods
configure(conf)
click to toggle source
Calls superclass method
# File lib/fluent/mixin/type_converter.rb, line 12 def configure(conf) super end
convert_field_type!(record)
click to toggle source
# File lib/fluent/mixin/type_converter.rb, line 24 def convert_field_type!(record) record.each { |key, value| record[key] = convert_type(key, value) } self end
filter_record(tag, time, record)
click to toggle source
Calls superclass method
# File lib/fluent/mixin/type_converter.rb, line 17 def filter_record(tag, time, record) super if @types convert_field_type!(record) end end