public static enum TypeDesc.Type extends Enum<TypeDesc.Type>
Enum Constant and Description |
---|
BIGINT |
BINARY |
BOOLEAN |
CHAR |
DATE |
DECIMAL |
DOUBLE |
FLOAT |
INT |
SMALLINT |
STRING |
TIMESTAMP |
TINYINT |
VARCHAR |
Modifier and Type | Method and Description |
---|---|
static TypeDesc.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeDesc.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeDesc.Type BOOLEAN
public static final TypeDesc.Type TINYINT
public static final TypeDesc.Type SMALLINT
public static final TypeDesc.Type INT
public static final TypeDesc.Type BIGINT
public static final TypeDesc.Type FLOAT
public static final TypeDesc.Type DOUBLE
public static final TypeDesc.Type STRING
public static final TypeDesc.Type CHAR
public static final TypeDesc.Type VARCHAR
public static final TypeDesc.Type DATE
public static final TypeDesc.Type TIMESTAMP
public static final TypeDesc.Type BINARY
public static final TypeDesc.Type DECIMAL
public static TypeDesc.Type[] values()
for (TypeDesc.Type c : TypeDesc.Type.values()) System.out.println(c);
public static TypeDesc.Type 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 nullCopyright © 2021 The Apache Software Foundation. All rights reserved.