public enum ValueType extends Enum<ValueType>
Enum Constant and Description |
---|
BOOLEAN
The value is set from a boolean: BIT.
|
BYTES
The value is set from a byte buffer.
|
DATE
The value is set from a Joda LocalDate.
|
DECIMAL
The value is set from a BigDecimal: any of Drill's decimal
types.
|
DOUBLE
Type is set from a double: FLOAT4 and FLOAT8.
|
FLOAT
Type is set from a float: FLOAT4.
|
INTEGER
The value is set from an integer: TINYINT,
SMALLINT, INT, UINT1, and UINT2.
|
LONG
The value set from a long: BIGINT and
UINT4.
|
NULL
The value has no type.
|
PERIOD
The value is set from a Period.
|
STRING
The value can be set from a string (for convenience).
|
TIME
The value is set from a Joda LocalTime.
|
TIMESTAMP
The value is set from a Joda Instant.
|
Modifier and Type | Method and Description |
---|---|
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType BOOLEAN
public static final ValueType INTEGER
public static final ValueType LONG
public static final ValueType FLOAT
public static final ValueType DOUBLE
public static final ValueType STRING
public static final ValueType BYTES
public static final ValueType DECIMAL
public static final ValueType PERIOD
public static final ValueType DATE
public static final ValueType TIME
public static final ValueType TIMESTAMP
public static final ValueType NULL
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 © 1970 The Apache Software Foundation. All rights reserved.