snowflake.snowpark.types.StructField¶
- class snowflake.snowpark.types.StructField(column_identifier: Union[ColumnIdentifier, str], datatype: DataType, nullable: bool = True)[source]¶
Bases:
object
Represents the content of
StructField
.Methods
fromJson
(json_dict)from_json
(json_dict)json
()jsonValue
()json_value
()simpleString
()simple_string
()typeName
()type_name
()Attributes
name
Returns the column name.