Class: Fluent::BigQueryOutput::FloatFieldSchema

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



715
716
717
# File 'lib/fluent/plugin/out_bigquery.rb', line 715

def format_one(value)
  value.to_f
end

#typeObject



711
712
713
# File 'lib/fluent/plugin/out_bigquery.rb', line 711

def type
  :float
end