creates a structtype with the given list of structfields fields . concode_field_sep DataType StringType concode_elem_sep DataType BinaryType concode_elem_sep DataType TimestampType concode_elem_sep DataType LongType concode_elem_sep DataType DoubleType concode_elem_sep DataType IntegerType concode_elem_sep DataType ShortType concode_elem_sep DataType FloatType concode_elem_sep DataType ByteType concode_elem_sep DataType NullType concode_elem_sep DataType DateType concode_elem_sep DataType BooleanType concode_field_sep StructField createStructField concode_elem_sep StructField createStructField concode_elem_sep DecimalType createDecimalType concode_elem_sep DecimalType createDecimalType concode_elem_sep ArrayType createArrayType concode_elem_sep ArrayType createArrayType concode_elem_sep MapType createMapType concode_elem_sep MapType createMapType
StructType function ( List < StructField > arg0 ) { return createStructType ( arg0 . toArray ( new StructField [ 0 ] ) ) ; }