public static enum SQLCurrentTimeExpr.Type extends Enum<SQLCurrentTimeExpr.Type>
| Enum Constant and Description |
|---|
CURDATE |
CURRENT_DATE |
CURRENT_TIME |
CURRENT_TIMESTAMP |
CURTIME |
LOCALTIME |
LOCALTIMESTAMP |
SYSDATE |
| Modifier and Type | Method and Description |
|---|---|
static SQLCurrentTimeExpr.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLCurrentTimeExpr.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLCurrentTimeExpr.Type CURRENT_TIME
public static final SQLCurrentTimeExpr.Type CURRENT_DATE
public static final SQLCurrentTimeExpr.Type CURDATE
public static final SQLCurrentTimeExpr.Type CURTIME
public static final SQLCurrentTimeExpr.Type CURRENT_TIMESTAMP
public static final SQLCurrentTimeExpr.Type LOCALTIME
public static final SQLCurrentTimeExpr.Type LOCALTIMESTAMP
public static final SQLCurrentTimeExpr.Type SYSDATE
public static SQLCurrentTimeExpr.Type[] values()
for (SQLCurrentTimeExpr.Type c : SQLCurrentTimeExpr.Type.values()) System.out.println(c);
public static SQLCurrentTimeExpr.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 © 2013–2022 Alibaba Group. All rights reserved.