public enum SchemaState extends Enum<SchemaState>
Enum Constant and Description |
---|
StateDeleteOnly |
StateDeleteReorganization |
StateNone |
StatePublic |
StateWriteOnly |
StateWriteReorganization |
Modifier and Type | Method and Description |
---|---|
static SchemaState |
fromValue(int b) |
int |
getStateCode() |
static SchemaState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaState StateNone
public static final SchemaState StateDeleteOnly
public static final SchemaState StateWriteOnly
public static final SchemaState StateWriteReorganization
public static final SchemaState StateDeleteReorganization
public static final SchemaState StatePublic
public static SchemaState[] values()
for (SchemaState c : SchemaState.values()) System.out.println(c);
public static SchemaState 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 static SchemaState fromValue(int b)
public int getStateCode()
Copyright © 2024 PingCAP. All rights reserved.