public static enum FieldType.TypeName extends Enum<FieldType.TypeName>
Enum Constant and Description |
---|
ARRAY
array.
|
BIGINT
64-bit signed integer.
|
BINARY
binary string.
|
BOOLEAN
boolean.
|
CHAR
character sequence with fixed length.
|
DATE
date.
|
DECIMAL
fixed point decimal.
|
DOUBLE
64-bit floating point number.
|
FLOAT
32-bit floating point number.
|
INT
32-bit signed integer.
|
MAP
map.
|
SMALLINT
16-bit signed integer.
|
STRING
character string.
|
STRUCT
struct.
|
TIMESTAMP
timestamp.
|
TINYINT
8-bit signed integer.
|
UNION
union.
|
VARCHAR
character sequence with maximum length.
|
Modifier and Type | Method and Description |
---|---|
FieldType.Category |
getCategory()
Returns the type category.
|
static FieldType.TypeName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldType.TypeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType.TypeName TINYINT
public static final FieldType.TypeName SMALLINT
public static final FieldType.TypeName INT
public static final FieldType.TypeName BIGINT
public static final FieldType.TypeName FLOAT
public static final FieldType.TypeName DOUBLE
public static final FieldType.TypeName BOOLEAN
public static final FieldType.TypeName STRING
public static final FieldType.TypeName BINARY
public static final FieldType.TypeName DATE
public static final FieldType.TypeName TIMESTAMP
public static final FieldType.TypeName VARCHAR
public static final FieldType.TypeName CHAR
public static final FieldType.TypeName DECIMAL
public static final FieldType.TypeName ARRAY
public static final FieldType.TypeName MAP
public static final FieldType.TypeName STRUCT
public static final FieldType.TypeName UNION
public static FieldType.TypeName[] values()
for (FieldType.TypeName c : FieldType.TypeName.values()) System.out.println(c);
public static FieldType.TypeName 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 nullpublic FieldType.Category getCategory()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.