Home | Trees | Indices | Help |
|
---|
|
object --+ | DataType --+ | StructType
Spark SQL StructType
The data type representing rows. A StructType object comprises a list of StructFields.
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
Creates a StructType >>> struct1 = StructType([StructField("f1", StringType, True)]) >>> struct2 = StructType([StructField("f1", StringType, True)]) >>> struct1 == struct2 True >>> struct1 = StructType([StructField("f1", StringType, True)]) >>> struct2 = StructType([StructField("f1", StringType, True), ... [StructField("f2", IntegerType, False)]]) >>> struct1 == struct2 False
|
repr(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 11 01:19:41 2014 | http://epydoc.sourceforge.net |