Class DataType
- java.lang.Object
-
- com.snowflake.snowpark_java.types.DataType
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArrayType,BinaryType,BooleanType,ByteType,DateType,DecimalType,DoubleType,FloatType,GeographyType,GeometryType,IntegerType,LongType,MapType,ShortType,StringType,StructType,TimestampType,TimeType,VariantType
public abstract class DataType extends Object implements Serializable
Snowpark data types- Since:
- 0.9.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Verifies if a DataType equals to this one.inthashCode()Calculates the hash code of this DataType Type Object.StringtoString()Generates a String value to represent this DataType object.StringtypeName()Retrieves the String name of this DataType object.
-
-
-
Method Detail
-
typeName
public String typeName()
Retrieves the String name of this DataType object.- Returns:
- A String name of this DataType object
- Since:
- 0.9.0
-
toString
public String toString()
Generates a String value to represent this DataType object.
-
equals
public boolean equals(Object other)
Verifies if a DataType equals to this one.
-
-