public class MapType extends DataType
| Constructor and Description |
|---|
MapType(DataType keyType,
DataType valueType,
boolean valueContainsNull) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
boolean |
equivalent(DataType dataType)
Are the data types same? The metadata or column names could be different.
|
DataType |
getKeyType() |
DataType |
getValueType() |
int |
hashCode() |
boolean |
isValueContainsNull() |
java.lang.String |
toJson()
Convert the data type to Delta protocol specified serialization format.
|
java.lang.String |
toString() |
public DataType getKeyType()
public DataType getValueType()
public boolean isValueContainsNull()
public boolean equivalent(DataType dataType)
DataTypeequivalent in class DataTypepublic java.lang.String toJson()
DataType