public static enum SqlSetOptions.Names extends Enum<SqlSetOptions.Names> implements org.apache.calcite.sql.Symbolizable
SqlIdentifier can not be used
as a name parameter. For example, in PostgreSQL, these two SQL commands
have different meanings:
RESET ALL resets all settable run-time parameters to default values.RESET "ALL" resets parameter "ALL".SqlIdentifier makes
it impossible to distinguish which case is being referred to.
This enum has been introduced to avoid this problem.| Enum Constant and Description |
|---|
ALL |
ROLE |
SESSION_CHARACTERISTICS_AS_TRANSACTION |
TIME_ZONE |
TRANSACTION |
TRANSACTION_SNAPSHOT |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SqlSetOptions.Names |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlSetOptions.Names[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlSetOptions.Names ALL
public static final SqlSetOptions.Names TRANSACTION
public static final SqlSetOptions.Names TRANSACTION_SNAPSHOT
public static final SqlSetOptions.Names SESSION_CHARACTERISTICS_AS_TRANSACTION
public static final SqlSetOptions.Names TIME_ZONE
public static final SqlSetOptions.Names ROLE
public static SqlSetOptions.Names[] values()
for (SqlSetOptions.Names c : SqlSetOptions.Names.values()) System.out.println(c);
public static SqlSetOptions.Names 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 String toString()
toString in class Enum<SqlSetOptions.Names>Copyright © 2012-2026 Apache Software Foundation. All Rights Reserved.