| Constructor and Description |
|---|
MapType(DataType keyType,
DataType valueType,
boolean valueContainsNull) |
MapType(StructField keyField,
StructField valueField) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
equivalent(DataType dataType)
Are the data types same? The metadata or column names could be different.
|
StructField |
getKeyField() |
DataType |
getKeyType() |
StructField |
getValueField() |
DataType |
getValueType() |
int |
hashCode() |
boolean |
isValueContainsNull() |
String |
toString() |
public MapType(StructField keyField, StructField valueField)
public StructField getKeyField()
public StructField getValueField()
public DataType getKeyType()
public DataType getValueType()
public boolean isValueContainsNull()
public boolean equivalent(DataType dataType)
DataTypeequivalent in class DataType