Class: Fluent::BigQuery::NumericFieldSchema

Inherits:
FieldSchema
  • Object
show all
Defined in:
lib/fluent/plugin/bigquery/schema.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::BigQuery::FieldSchema

Instance Method Details

#format_one(value, is_load: false) ⇒ Object



114
115
116
# File 'lib/fluent/plugin/bigquery/schema.rb', line 114

def format_one(value, is_load: false)
  value.to_s
end

#typeObject



110
111
112
# File 'lib/fluent/plugin/bigquery/schema.rb', line 110

def type
  :numeric
end