Class: Fluent::BigQuery::IntegerFieldSchema

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) ⇒ Object



68
69
70
# File 'lib/fluent/plugin/bigquery/schema.rb', line 68

def format_one(value)
  value.to_i
end

#typeObject



64
65
66
# File 'lib/fluent/plugin/bigquery/schema.rb', line 64

def type
  :integer
end