public enum LiteralCapability extends Enum<LiteralCapability>
E.g. to execute a system "SELECT * FROM t WHERE username='alice'" your data source needs the STRING capability.
| Enum Constant and Description |
|---|
BOOL
The literal for boolean values.
|
DATE
The literal for date values.
|
DOUBLE
The literal for double values.
|
EXACTNUMERIC
The literal for exact numeric values.
|
INTERVAL
The literal for interval values.
|
NULL
The literal for null values.
|
STRING
The literal for string values.
|
TIMESTAMP
The literal for timestamp values.
|
TIMESTAMP_UTC
The literal for timestamp values.
|
| Modifier and Type | Method and Description |
|---|---|
static LiteralCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiteralCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiteralCapability NULL
Example in EXASOL syntax: NULL
public static final LiteralCapability BOOL
Example in EXASOL syntax: TRUE
public static final LiteralCapability DATE
Example in EXASOL syntax: DATE '2000-01-28'
public static final LiteralCapability TIMESTAMP
Example in EXASOL syntax: TIMESTAMP '2000-01-28 12:30:01.001'
public static final LiteralCapability TIMESTAMP_UTC
Example in EXASOL syntax: CAST(TIMESTAMP '2000-01-28 12:30:01.001' AS TIMESTAMP WITH LOCAL TIME ZONE)
public static final LiteralCapability DOUBLE
Example in EXASOL syntax: 100.23
public static final LiteralCapability EXACTNUMERIC
Example in EXASOL syntax: 123
public static final LiteralCapability STRING
Example in EXASOL syntax: 'alice'
public static final LiteralCapability INTERVAL
Example in EXASOL syntax: INTERVAL '5' MONTH
public static LiteralCapability[] values()
for (LiteralCapability c : LiteralCapability.values()) System.out.println(c);
public static LiteralCapability 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 © 2019. All rights reserved.