ArrayType(elementType[, containsNull])
ArrayType
Array data type.
BinaryType
Binary (byte array) data type.
BooleanType
Boolean data type.
ByteType
Byte data type, i.e.
DataType
Base class for data types.
DateType
Date (datetime.date) data type.
DecimalType([precision, scale])
DecimalType
Decimal (decimal.Decimal) data type.
DoubleType
Double data type, representing double precision floats.
FloatType
Float data type, representing single precision floats.
IntegerType
Int data type, i.e.
LongType
Long data type, i.e.
MapType(keyType, valueType[, valueContainsNull])
MapType
Map data type.
NullType
Null type.
ShortType
Short data type, i.e.
StringType
String data type.
CharType(length)
CharType
Char data type
VarcharType(length)
VarcharType
Varchar data type
StructField(name, dataType[, nullable, metadata])
StructField
A field in StructType.
StructType
StructType([fields])
Struct type, consisting of a list of StructField.
TimestampType
Timestamp (datetime.datetime) data type.
TimestampNTZType
Timestamp (datetime.datetime) data type without timezone information.
DayTimeIntervalType([startField, endField])
DayTimeIntervalType
DayTimeIntervalType (datetime.timedelta).