google_api_big_query v0.8.0 GoogleApi.BigQuery.V2.Model.StandardSqlDataType View Source
The type of a variable, e.g., a function argument. Examples: INT64: {type_kind="INT64"} ARRAY<STRING>: {type_kind="ARRAY", array_element_type="STRING"} STRUCT<x STRING, y ARRAY<DATE>>: {type_kind="STRUCT", struct_type={fields=[ {name="x", type={type_kind="STRING"}}, {name="y", type={type_kind="ARRAY", array_element_type="DATE"}} ]}}
Attributes
- arrayElementType (StandardSqlDataType): The type of the array's elements, if type_kind = "ARRAY". Defaults to:
null
. - structType (StandardSqlStructType): The fields of this struct, in order, if type_kind = "STRUCT". Defaults to:
null
. typeKind (String.t): Required. The top level type of this field. Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY"). Defaults to:
null
.- Enum - one of [TYPE_KIND_UNSPECIFIED, INT64, BOOL, FLOAT64, STRING, BYTES, TIMESTAMP, DATE, TIME, DATETIME, GEOGRAPHY, NUMERIC, ARRAY, STRUCT]
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()
View Source
t() :: %GoogleApi.BigQuery.V2.Model.StandardSqlDataType{
arrayElementType: GoogleApi.BigQuery.V2.Model.StandardSqlDataType.t(),
structType: GoogleApi.BigQuery.V2.Model.StandardSqlStructType.t(),
typeKind: any()
}
t() :: %GoogleApi.BigQuery.V2.Model.StandardSqlDataType{ arrayElementType: GoogleApi.BigQuery.V2.Model.StandardSqlDataType.t(), structType: GoogleApi.BigQuery.V2.Model.StandardSqlStructType.t(), typeKind: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.