public static enum RegionServerStatusProtos.RegionStateTransition.TransitionCode extends Enum<RegionServerStatusProtos.RegionStateTransition.TransitionCode> implements org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum
hbase.pb.RegionStateTransition.TransitionCode| Enum Constant and Description |
|---|
CLOSED
No failed_close, in which case region server will abort
|
FAILED_OPEN
FAILED_OPEN = 1; |
MERGE_REVERTED
MERGE_REVERTED = 10; |
MERGED
MERGED = 8; |
OPENED
OPENED = 0; |
READY_TO_MERGE
READY_TO_MERGE = 4; |
READY_TO_SPLIT
Ask master for ok to split/merge region(s)
|
SPLIT
We used to have PONR enums for split and merge in here occupying
positions 5 and 6 but they have since been removed.
|
SPLIT_REVERTED
SPLIT_REVERTED = 9; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOSED_VALUE
No failed_close, in which case region server will abort
|
static int |
FAILED_OPEN_VALUE
FAILED_OPEN = 1; |
static int |
MERGE_REVERTED_VALUE
MERGE_REVERTED = 10; |
static int |
MERGED_VALUE
MERGED = 8; |
static int |
OPENED_VALUE
OPENED = 0; |
static int |
READY_TO_MERGE_VALUE
READY_TO_MERGE = 4; |
static int |
READY_TO_SPLIT_VALUE
Ask master for ok to split/merge region(s)
|
static int |
SPLIT_REVERTED_VALUE
SPLIT_REVERTED = 9; |
static int |
SPLIT_VALUE
We used to have PONR enums for split and merge in here occupying
positions 5 and 6 but they have since been removed.
|
| Modifier and Type | Method and Description |
|---|---|
static RegionServerStatusProtos.RegionStateTransition.TransitionCode |
forNumber(int value) |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<RegionServerStatusProtos.RegionStateTransition.TransitionCode> |
internalGetValueMap() |
static RegionServerStatusProtos.RegionStateTransition.TransitionCode |
valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RegionServerStatusProtos.RegionStateTransition.TransitionCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RegionServerStatusProtos.RegionStateTransition.TransitionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionServerStatusProtos.RegionStateTransition.TransitionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode OPENED
OPENED = 0;public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode FAILED_OPEN
FAILED_OPEN = 1;public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode CLOSED
No failed_close, in which case region server will abort
CLOSED = 2;public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode READY_TO_SPLIT
Ask master for ok to split/merge region(s)
READY_TO_SPLIT = 3;public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode READY_TO_MERGE
READY_TO_MERGE = 4;public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode SPLIT
We used to have PONR enums for split and merge in here occupying positions 5 and 6 but they have since been removed. Do not reuse these indices
SPLIT = 7;public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode MERGED
MERGED = 8;public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode SPLIT_REVERTED
SPLIT_REVERTED = 9;public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode MERGE_REVERTED
MERGE_REVERTED = 10;public static final int OPENED_VALUE
OPENED = 0;public static final int FAILED_OPEN_VALUE
FAILED_OPEN = 1;public static final int CLOSED_VALUE
No failed_close, in which case region server will abort
CLOSED = 2;public static final int READY_TO_SPLIT_VALUE
Ask master for ok to split/merge region(s)
READY_TO_SPLIT = 3;public static final int READY_TO_MERGE_VALUE
READY_TO_MERGE = 4;public static final int SPLIT_VALUE
We used to have PONR enums for split and merge in here occupying positions 5 and 6 but they have since been removed. Do not reuse these indices
SPLIT = 7;public static final int MERGED_VALUE
MERGED = 8;public static final int SPLIT_REVERTED_VALUE
SPLIT_REVERTED = 9;public static final int MERGE_REVERTED_VALUE
MERGE_REVERTED = 10;public static RegionServerStatusProtos.RegionStateTransition.TransitionCode[] values()
for (RegionServerStatusProtos.RegionStateTransition.TransitionCode c : RegionServerStatusProtos.RegionStateTransition.TransitionCode.values()) System.out.println(c);
public static RegionServerStatusProtos.RegionStateTransition.TransitionCode 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 final int getNumber()
getNumber in interface org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLitegetNumber in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum@Deprecated public static RegionServerStatusProtos.RegionStateTransition.TransitionCode valueOf(int value)
forNumber(int) instead.public static RegionServerStatusProtos.RegionStateTransition.TransitionCode forNumber(int value)
public static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<RegionServerStatusProtos.RegionStateTransition.TransitionCode> internalGetValueMap()
public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RegionServerStatusProtos.RegionStateTransition.TransitionCode valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019 Cloudera. All rights reserved.