Class: Fluent::BigQueryOutput::BooleanFieldSchema

Inherits:
FieldSchema
  • Object
show all
Defined in:
lib/fluent/plugin/out_bigquery.rb

Instance Attribute Summary

Attributes inherited from FieldSchema

#mode, #name

Instance Method Summary collapse

Methods inherited from FieldSchema

#format, #initialize, #to_h

Constructor Details

This class inherits a constructor from Fluent::BigQueryOutput::FieldSchema

Instance Method Details

#format_one(value) ⇒ Object



639
640
641
# File 'lib/fluent/plugin/out_bigquery.rb', line 639

def format_one(value)
  !!value
end

#typeObject



635
636
637
# File 'lib/fluent/plugin/out_bigquery.rb', line 635

def type
  :boolean
end