Class: Fluent::BigQuery::FloatFieldSchema
- Inherits:
-
FieldSchema
- Object
- FieldSchema
- Fluent::BigQuery::FloatFieldSchema
- Defined in:
- lib/fluent/plugin/bigquery/schema.rb
Instance Attribute Summary
Attributes inherited from FieldSchema
Instance Method Summary collapse
Methods inherited from FieldSchema
Constructor Details
This class inherits a constructor from Fluent::BigQuery::FieldSchema
Instance Method Details
#format_one(value) ⇒ Object
84 85 86 |
# File 'lib/fluent/plugin/bigquery/schema.rb', line 84 def format_one(value) value.to_f end |
#type ⇒ Object
80 81 82 |
# File 'lib/fluent/plugin/bigquery/schema.rb', line 80 def type :float end |