MapType(DataType, DataType, Boolean) Constructor
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.
Constructor for MapType class.
public MapType (Microsoft.Spark.Sql.Types.DataType keyType, Microsoft.Spark.Sql.Types.DataType valueType, bool valueContainsNull = true);
new Microsoft.Spark.Sql.Types.MapType : Microsoft.Spark.Sql.Types.DataType * Microsoft.Spark.Sql.Types.DataType * bool -> Microsoft.Spark.Sql.Types.MapType
Public Sub New (keyType As DataType, valueType As DataType, Optional valueContainsNull As Boolean = true)
Parameters
- keyType
- DataType
The data type of keys in this map
- valueType
- DataType
The data type of values in this map
- valueContainsNull
- Boolean
Indicates if values can be null