Class: Fluent::BigQuery::StringFieldSchema

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



58
59
60
# File 'lib/fluent/plugin/bigquery/schema.rb', line 58

def format_one(value)
  value.to_s
end

#typeObject



54
55
56
# File 'lib/fluent/plugin/bigquery/schema.rb', line 54

def type
  :string
end