@InterfaceAudience.Private @InterfaceStability.Evolving public static enum TableState.State extends Enum<TableState.State>
Enum Constant and Description |
---|
DISABLED |
DISABLING |
ENABLED |
ENABLING |
Modifier and Type | Method and Description |
---|---|
HBaseProtos.TableState.State |
convert()
Covert to PB version of State
|
static TableState.State |
convert(HBaseProtos.TableState.State state)
Covert from PB version of State
|
static TableState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableState.State ENABLED
public static final TableState.State DISABLED
public static final TableState.State DISABLING
public static final TableState.State ENABLING
public static TableState.State[] values()
for (TableState.State c : TableState.State.values()) System.out.println(c);
public static TableState.State 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 TableState.State convert(HBaseProtos.TableState.State state)
state
- convert frompublic HBaseProtos.TableState.State convert()
Copyright © 2007–2019 Cloudera. All rights reserved.