Home | Trees | Indices | Help |
|
---|
|
object --+ | DataType --+ | ArrayType
Spark SQL ArrayType
The data type representing list values. An ArrayType object comprises two fields, elementType (a DataType) and containsNull (a bool). The field of elementType is used to specify the type of array elements. The field of containsNull is used to specify if the array has None values.
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
Creates an ArrayType :param elementType: the data type of elements. :param containsNull: indicates whether the list contains None values. >>> ArrayType(StringType) == ArrayType(StringType, True) True >>> ArrayType(StringType, False) == ArrayType(StringType) False
|
str(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Nov 24 15:21:12 2014 | http://epydoc.sourceforge.net |