public final class DataTypes extends Object
| Modifier and Type | Field and Description |
|---|---|
static BinaryType |
BinaryType
Retrieves the BinaryType object.
|
static BooleanType |
BooleanType
Retrieves the BooleanType object.
|
static ByteType |
ByteType
Retrieves the ByteType object.
|
static DateType |
DateType
Retrieves the DateType object.
|
static DoubleType |
DoubleType
Retrieves the DoubleType object.
|
static FloatType |
FloatType
Retrieves the FloatType object.
|
static GeographyType |
GeographyType
Retrieves the GeographyType object.
|
static IntegerType |
IntegerType
Retrieves the IntegerType object.
|
static LongType |
LongType
Retrieves the LongType object.
|
static ShortType |
ShortType
Retrieves the ShortType object.
|
static StringType |
StringType
Retrieves the StringType object.
|
static TimestampType |
TimestampType
Retrieves the TimestampType object.
|
static TimeType |
TimeType
Retrieves the TimeType object.
|
static VariantType |
VariantType
Retrieves the VariantType object.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayType |
createArrayType(DataType elementType)
Creates a new ArrayType object.
|
static DecimalType |
createDecimalType(int precision,
int scale)
Creates a new DecimalType object.
|
static MapType |
createMapType(DataType keyType,
DataType valueType)
Create a new MapType object.
|
public static final ByteType ByteType
public static final ShortType ShortType
public static final IntegerType IntegerType
public static final LongType LongType
public static final FloatType FloatType
public static final DoubleType DoubleType
public static final BinaryType BinaryType
public static final BooleanType BooleanType
public static final DateType DateType
public static final GeographyType GeographyType
public static final StringType StringType
public static final TimestampType TimestampType
public static final TimeType TimeType
public static final VariantType VariantType
public static DecimalType createDecimalType(int precision, int scale)
precision - An int number representing the precisionscale - An int number representing the scalepublic static ArrayType createArrayType(DataType elementType)
elementType - The data type of array's element© 2022 Snowflake Inc. All Rights Reserved