creates a maptype by specifying the data type of keys keytype and values keytype . the field of valuecontainsnull is set to true . concode_field_sep DataType StringType concode_elem_sep DataType DateType concode_elem_sep DataType BooleanType 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 CalendarIntervalType concode_elem_sep DataType NullType concode_field_sep StructType createStructType concode_elem_sep StructType createStructType concode_elem_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
MapType function ( DataType arg0 , DataType arg1 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } if ( arg1 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return new MapType ( arg0 , arg1 , true ) ; }