blanton v0.2.2 Blanton.Column

This module that handles columns of table schema.

Link to this section Summary

Functions

Create GoogleApi.BigQuery.V2.Model.TableFieldSchema from Listed map

Create GoogleApi.BigQuery.V2.Model.TableFieldSchema

Link to this section Functions

Specs

Create GoogleApi.BigQuery.V2.Model.TableFieldSchema from Listed map

example

new([ %{name: "column1", type: :string, mode: :required}, %{name: "column2", type: :int64, mode: :nullable}, ])

[ %GoogleApi.BigQuery.V2.Model.TableFieldSchema{name: "column1", type: "STRING", mode: "REQUIRED"}, %GoogleApi.BigQuery.V2.Model.TableFieldSchema{name: "column2", type: "INT64", mode: "NULLABLE"} ]

Link to this function

new(name, type, mode, fields)

Specs

Create GoogleApi.BigQuery.V2.Model.TableFieldSchema

example

new("column", :string, :required, [%{name: String.t(), mode: :string, type: :nullable}])

%GoogleApi.BigQuery.V2.Model.TableFieldSchema{ name: "column", type: "STRING", mode: "REQUIRED" fields: [

%GoogleApi.BigQuery.V2.Model.TableFieldSchema{name: "column", type: "STRING", mode: "NULLABLE"}

] }