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



338
339
340
# File 'lib/fluent/plugin/out_bigquery.rb', line 338

def format(value)
  value.to_f
end

#typeObject



334
335
336
# File 'lib/fluent/plugin/out_bigquery.rb', line 334

def type
  :float
end