Class: Fluent::BigQueryOutput::IntegerFieldSchema

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

Instance Attribute Summary

Attributes inherited from FieldSchema

#mode, #name

Instance Method Summary collapse

Methods inherited from FieldSchema

#format, #initialize

Constructor Details

This class inherits a constructor from Fluent::BigQueryOutput::FieldSchema

Instance Method Details

#format_one(value) ⇒ Object



368
369
370
# File 'lib/fluent/plugin/out_bigquery.rb', line 368

def format_one(value)
  value.to_i
end

#type ⇒ Object



364
365
366
# File 'lib/fluent/plugin/out_bigquery.rb', line 364

def type
  :integer
end