MapType Class

Definition

The data type for a map.

public sealed class MapType : Microsoft.Spark.Sql.Types.DataType
type MapType = class
    inherit DataType
Public NotInheritable Class MapType
Inherits DataType
Inheritance
MapType

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)

Applies to