@InterfaceAudience.Private @InterfaceStability.Evolving public static enum RegionState.State extends Enum<RegionState.State>
Enum Constant and Description |
---|
CLOSED |
CLOSING |
FAILED_CLOSE |
FAILED_OPEN |
MERGED |
MERGING |
MERGING_NEW |
OFFLINE |
OPEN |
OPENING |
SPLIT |
SPLITTING |
SPLITTING_NEW |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionState.State |
convert()
Convert to protobuf ClusterStatusProtos.RegionState.State
|
static RegionState.State |
convert(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionState.State protoState)
Convert a protobuf HBaseProtos.RegionState.State to a RegionState.State
|
static RegionState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionState.State OFFLINE
public static final RegionState.State OPENING
public static final RegionState.State OPEN
public static final RegionState.State CLOSING
public static final RegionState.State CLOSED
public static final RegionState.State SPLITTING
public static final RegionState.State SPLIT
public static final RegionState.State FAILED_OPEN
public static final RegionState.State FAILED_CLOSE
public static final RegionState.State MERGING
public static final RegionState.State MERGED
public static final RegionState.State SPLITTING_NEW
public static final RegionState.State MERGING_NEW
public static RegionState.State[] values()
for (RegionState.State c : RegionState.State.values()) System.out.println(c);
public static RegionState.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 org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionState.State convert()
public static RegionState.State convert(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionState.State protoState)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.