No-arg constructor for kryo.
No-arg constructor for kryo.
The name of this field.
The data type of this field.
Indicates if values of this field can be null values.
The metadata of this field. The metadata should be preserved during transformation if the content of the column is not modified, e.g, in selection.
The data type of this field.
Return the comment of this StructField.
The metadata of this field.
The metadata of this field. The metadata should be preserved during transformation if the content of the column is not modified, e.g, in selection.
The name of this field.
Indicates if values of this field can be null values.
Returns a string containing a schema in DDL format.
Returns a string containing a schema in DDL format. For example, the following value:
StructField("eventId", IntegerType) will be converted to eventId INT.
2.4.0
Updates the StructField with a new comment value.
A field inside a StructType.
The name of this field.
The data type of this field.
Indicates if values of this field can be
nullvalues.The metadata of this field. The metadata should be preserved during transformation if the content of the column is not modified, e.g, in selection.
1.3.0