public enum MergeState extends Enum<MergeState>
Enum Constant and Description |
---|
COMPLETE
merge is complete, the resulting tablet can be brought online, remove the marker in zookeeper
|
MERGING
when the number of chopped, offline tablets equals the number of merge tablets, begin the
metadata updates
|
NONE
Not merging
|
SPLITTING
put all matching tablets online, split tablets if we are deleting
|
STARTED
created, stored in zookeeper, other merges are prevented on the table
|
WAITING_FOR_CHOPPED
after the tablet server chops the file, it marks the metadata table with a chopped marker
|
WAITING_FOR_OFFLINE
when the number of chopped tablets in the range matches the number of online tablets in the
range, take the tablets offline
|
Modifier and Type | Method and Description |
---|---|
static MergeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeState NONE
public static final MergeState STARTED
public static final MergeState SPLITTING
public static final MergeState WAITING_FOR_CHOPPED
public static final MergeState WAITING_FOR_OFFLINE
public static final MergeState MERGING
public static final MergeState COMPLETE
public static MergeState[] values()
for (MergeState c : MergeState.values()) System.out.println(c);
public static MergeState 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 nullCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.