StandardSqlDataType class
The data type of a variable such as a function argument. Examples include: * INT64: {"typeKind": "INT64"} * ARRAY: { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "STRING"} } * STRUCT>: { "typeKind": "STRUCT", "structType": { "fields": { "name": "x", "type": {"typeKind": "STRING"} }, { "name": "y", "type": { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "DATE"} } } } }
Constructors
-
StandardSqlDataType({Input<
StandardSqlDataType> ? arrayElementType, Input<StandardSqlDataType> ? rangeElementType, Input<StandardSqlStructType> ? structType, required Input<StandardSqlDataTypeTypeKind> typeKind}) -
Creates a new StandardSqlDataType.
arrayElementTypeThe type of the array's elements, if type_kind = "ARRAY".rangeElementTypeThe type of the range's elements, if type_kind = "RANGE".structTypeThe fields of this struct, in order, if type_kind = "STRUCT".typeKindThe top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").const -
StandardSqlDataType.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arrayElementType
→ Input<
StandardSqlDataType> ? -
The type of the array's elements, if type_kind = "ARRAY".
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rangeElementType
→ Input<
StandardSqlDataType> ? -
The type of the range's elements, if type_kind = "RANGE".
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
structType
→ Input<
StandardSqlStructType> ? -
The fields of this struct, in order, if type_kind = "STRUCT".
final
-
typeKind
→ Input<
StandardSqlDataTypeTypeKind> -
The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited