Class: Fluent::BigQueryOutput::FloatFieldSchema

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

Instance Method Summary collapse

Instance Method Details

#format(value) ⇒ Object



350
351
352
# File 'lib/fluent/plugin/out_bigquery.rb', line 350

def format(value)
  value.to_f
end

#type ⇒ Object



346
347
348
# File 'lib/fluent/plugin/out_bigquery.rb', line 346

def type
  :float
end