public enum SchemaState extends Enum<SchemaState>
| 枚举常量和说明 |
|---|
StateDeleteOnly |
StateDeleteReorganization |
StateNone |
StatePublic |
StateWriteOnly |
StateWriteReorganization |
| 限定符和类型 | 方法和说明 |
|---|---|
static SchemaState |
fromValue(int b) |
int |
getStateCode() |
static SchemaState |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SchemaState[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static SchemaState fromValue(int b)
public int getStateCode()
Copyright © 2023 PingCAP. All rights reserved.