google_api_big_query v0.16.0 GoogleApi.BigQuery.V2.Model.StandardSqlDataType View Source

The type of a variable, e.g., a function argument. Examples: INT64: {type_kind="INT64"} ARRAY: {type_kind="ARRAY", array_element_type="STRING"} STRUCT<x STRING, y ARRAY>: {type_kind="STRUCT", struct_type={fields=[

 {name="x", type={type_kind="STRING"}},
 {name="y", type={type_kind="ARRAY", array_element_type="DATE"}}

]}}

Attributes

  • arrayElementType (type: GoogleApi.BigQuery.V2.Model.StandardSqlDataType.t, default: nil) - The type of the array's elements, if type_kind = "ARRAY".
  • structType (type: GoogleApi.BigQuery.V2.Model.StandardSqlStructType.t, default: nil) - The fields of this struct, in order, if type_kind = "STRUCT".
  • typeKind (type: String.t, default: nil) - Required. The top level type of this field. Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY").

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.BigQuery.V2.Model.StandardSqlDataType{
  arrayElementType: GoogleApi.BigQuery.V2.Model.StandardSqlDataType.t(),
  structType: GoogleApi.BigQuery.V2.Model.StandardSqlStructType.t(),
  typeKind: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.