The combination of a field name and data type, with optional metadata. Fields are used to describe the individual constituents of a nested DataType or a Schema.
The name of this field.
The type of this field.
Whether this field can contain null
values, in addition to values of Type
(this creates an extra null value map).
A field's metadata is represented by a map which holds arbitrary key-value pairs. Returns null
if no metadata has been set.
TBD?
TBD? Used if data type is a dictionary.
Creates an instance of Field
with parameters initialized as follows:
name
- Name of the columnnullable
=false
- Whether a null-array is maintained.metadata
=null
- Map of metadata