public static enum TOceanbaseAlterTenantSqlNode.EAction extends Enum<TOceanbaseAlterTenantSqlNode.EAction>
ALTER TENANT sub-form matched by the grammar.| Enum Constant and Description |
|---|
ADD_PRIMARY_ZONE
ALTER TENANT t ADD PRIMARY_ZONE 'z' |
LOCK
ALTER TENANT t LOCK |
RENAME
ALTER TENANT t RENAME TO t_new |
SET_OPTIONS
ALTER TENANT t SET name=value [, ...] |
UNLOCK
ALTER TENANT t UNLOCK |
| Modifier and Type | Method and Description |
|---|---|
static TOceanbaseAlterTenantSqlNode.EAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TOceanbaseAlterTenantSqlNode.EAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TOceanbaseAlterTenantSqlNode.EAction SET_OPTIONS
ALTER TENANT t SET name=value [, ...]public static final TOceanbaseAlterTenantSqlNode.EAction ADD_PRIMARY_ZONE
ALTER TENANT t ADD PRIMARY_ZONE 'z'public static final TOceanbaseAlterTenantSqlNode.EAction RENAME
ALTER TENANT t RENAME TO t_newpublic static final TOceanbaseAlterTenantSqlNode.EAction LOCK
ALTER TENANT t LOCKpublic static final TOceanbaseAlterTenantSqlNode.EAction UNLOCK
ALTER TENANT t UNLOCKpublic static TOceanbaseAlterTenantSqlNode.EAction[] values()
for (TOceanbaseAlterTenantSqlNode.EAction c : TOceanbaseAlterTenantSqlNode.EAction.values()) System.out.println(c);
public static TOceanbaseAlterTenantSqlNode.EAction 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