StructField function ( String arg0 , DataType arg1 , boolean arg2 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } if ( arg1 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return new StructField ( arg0 , arg1 , arg2 ) ; }
creates a structfield by specifying the name name , data type datatype and whether values of this field can be null values nullable . concode_field_sep IntegerType IntegerType concode_elem_sep DecimalType DecimalType concode_elem_sep DoubleType DoubleType concode_elem_sep FloatType FloatType concode_elem_sep ByteType ByteType concode_elem_sep BinaryType BinaryType concode_elem_sep StringType StringType concode_elem_sep LongType LongType concode_elem_sep BooleanType BooleanType concode_elem_sep TimestampType TimestampType concode_elem_sep ShortType ShortType concode_field_sep StructType createStructType concode_elem_sep StructType createStructType concode_elem_sep ArrayType createArrayType concode_elem_sep ArrayType createArrayType concode_elem_sep MapType createMapType concode_elem_sep MapType createMapType