public enum OdpsType extends Enum<OdpsType>
| Enum Constant and Description |
|---|
ARRAY
ARRAY类型
|
BIGINT
8字节有符号整型
|
BINARY
字节数组
|
BOOLEAN
布尔型
|
CHAR
固定长度字符串
|
DATE
时间类型
|
DATETIME
日期类型
|
DECIMAL
精确小数类型
|
DOUBLE
双精度浮点
|
FLOAT
单精度浮点
|
INT
4字节有符号整型
|
INTERVAL_DAY_TIME
日期间隔
|
INTERVAL_YEAR_MONTH
年份间隔
|
JSON
JSON类型
|
MAP
MAP类型
|
SMALLINT
2字节有符号整型
|
STRING
字符串类型
|
STRUCT
结构体
|
TIMESTAMP
时间戳
|
TINYINT
1字节有符号整型
|
UNKNOWN
Unsupported types from external systems
|
VARCHAR
可变长度字符串
|
VOID
空
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getFullTypeString(OdpsType type,
List<OdpsType> genericTypeList)
Deprecated.
|
static OdpsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OdpsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OdpsType BIGINT
public static final OdpsType DOUBLE
public static final OdpsType BOOLEAN
public static final OdpsType DATETIME
public static final OdpsType STRING
public static final OdpsType DECIMAL
public static final OdpsType MAP
public static final OdpsType ARRAY
public static final OdpsType VOID
public static final OdpsType TINYINT
public static final OdpsType SMALLINT
public static final OdpsType INT
public static final OdpsType FLOAT
public static final OdpsType CHAR
public static final OdpsType VARCHAR
public static final OdpsType DATE
public static final OdpsType TIMESTAMP
public static final OdpsType BINARY
public static final OdpsType INTERVAL_DAY_TIME
public static final OdpsType INTERVAL_YEAR_MONTH
public static final OdpsType STRUCT
public static final OdpsType JSON
public static final OdpsType UNKNOWN
public static OdpsType[] values()
for (OdpsType c : OdpsType.values()) System.out.println(c);
public static OdpsType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public static String getFullTypeString(OdpsType type, List<OdpsType> genericTypeList)
Copyright © 2023 Alibaba Cloud Computing. All rights reserved.