StructField(String, DataType, Boolean, JObject) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor for StructFieldType class.
public StructField(string name, Microsoft.Spark.Sql.Types.DataType dataType, bool isNullable = true, Newtonsoft.Json.Linq.JObject metadata = default);
new Microsoft.Spark.Sql.Types.StructField : string * Microsoft.Spark.Sql.Types.DataType * bool * Newtonsoft.Json.Linq.JObject -> Microsoft.Spark.Sql.Types.StructField
Public Sub New (name As String, dataType As DataType, Optional isNullable As Boolean = true, Optional metadata As JObject = Nothing)
Parameters
- name
- String
The name of this field
- dataType
- DataType
The data type of this field
- isNullable
- Boolean
Indicates if values of this field can be null
- metadata
- Newtonsoft.Json.Linq.JObject
The metadata of this field