public static enum RexLiteral.LiteralType extends Enum<RexLiteral.LiteralType>
| Enum Constant and Description |
|---|
BOOLEAN |
DATE |
DECIMAL |
INTEGER |
NULL |
STRING |
TIMESTAMP |
| Modifier and Type | Method and Description |
|---|---|
static RexLiteral.LiteralType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RexLiteral.LiteralType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RexLiteral.LiteralType STRING
public static final RexLiteral.LiteralType INTEGER
public static final RexLiteral.LiteralType DECIMAL
public static final RexLiteral.LiteralType BOOLEAN
public static final RexLiteral.LiteralType NULL
public static final RexLiteral.LiteralType DATE
public static final RexLiteral.LiteralType TIMESTAMP
public static RexLiteral.LiteralType[] values()
for (RexLiteral.LiteralType c : RexLiteral.LiteralType.values()) System.out.println(c);
public static RexLiteral.LiteralType 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