MapType Class 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The data type for a map.
public sealed class MapType : Microsoft.Spark.Sql.Types.DataTypetype MapType = class
    inherit DataTypePublic NotInheritable Class MapType
Inherits DataType- Inheritance
Constructors
| MapType(DataType, DataType, Boolean) | Constructor for MapType class. | 
Properties
| Json | The compact JSON representation of this data type.(Inherited from DataType) | 
| KeyType | Returns the data type of the keys in the map. | 
| SimpleString | Readable string representation for this type. | 
| TypeName | Normalized type name.(Inherited from DataType) | 
| ValueContainsNull | Checks if the value can contain null values. | 
| ValueType | Returns the data type of the values in the map. | 
Methods
| Equals(Object) | Checks if the given object is same as the current object by checking the string version of this type.(Inherited from DataType) | 
| GetHashCode() | Returns the hash code of the current object.(Inherited from DataType) |