Class MapType
- java.lang.Object
-
- com.snowflake.snowpark_java.types.DataType
-
- com.snowflake.snowpark_java.types.MapType
-
- All Implemented Interfaces:
java.io.Serializable
public class MapType extends DataType
Map data type. This maps to OBJECT data type in Snowflake.- Since:
- 0.9.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)Verifies if a DataType equals to this one.DataTypegetKeyType()Retrieves the data type of this MapType's key.DataTypegetValueType()Retrieves the data type of this MapType's value.inthashCode()Calculates the hash code of this Map Type Object.java.lang.StringtoString()Generates a String value to represent this map type.
-
-
-
Method Detail
-
getKeyType
public DataType getKeyType()
Retrieves the data type of this MapType's key.- Returns:
- A DataType object representing the key type of this MapType
- Since:
- 0.9.0
-
getValueType
public DataType getValueType()
Retrieves the data type of this MapType's value.- Returns:
- A DataType object representing the value type of this MapType
- Since:
- 0.9.0
-
toString
public java.lang.String toString()
Generates a String value to represent this map type.
-
equals
public boolean equals(java.lang.Object other)
Verifies if a DataType equals to this one.
-
-