class Fluent::BigQuery::StringFieldSchema

Public Instance Methods

format_one(value) click to toggle source
# File lib/fluent/plugin/bigquery/schema.rb, line 60
def format_one(value)
  if value.is_a?(Hash) || value.is_a?(Array)
    MultiJson.dump(value)
  else
    value.to_s
  end
end
type() click to toggle source
# File lib/fluent/plugin/bigquery/schema.rb, line 56
def type
  :string
end