public static enum Region.Operation extends Enum<Region.Operation>
Region.startRegionOperation()
and elsewhere to provide context
for various checks.Enum Constant and Description |
---|
ANY |
APPEND |
BATCH_MUTATE |
CHECK_AND_MUTATE |
COMPACT_REGION |
COMPACT_SWITCH |
DELETE |
GET |
INCREMENT |
MERGE_REGION |
PUT |
REPLAY_BATCH_MUTATE |
REPLAY_EVENT |
SCAN |
SNAPSHOT |
SPLIT_REGION |
Modifier and Type | Method and Description |
---|---|
static Region.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Region.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region.Operation ANY
public static final Region.Operation GET
public static final Region.Operation PUT
public static final Region.Operation DELETE
public static final Region.Operation SCAN
public static final Region.Operation APPEND
public static final Region.Operation INCREMENT
public static final Region.Operation SPLIT_REGION
public static final Region.Operation MERGE_REGION
public static final Region.Operation BATCH_MUTATE
public static final Region.Operation REPLAY_BATCH_MUTATE
public static final Region.Operation COMPACT_REGION
public static final Region.Operation REPLAY_EVENT
public static final Region.Operation SNAPSHOT
public static final Region.Operation COMPACT_SWITCH
public static final Region.Operation CHECK_AND_MUTATE
public static Region.Operation[] values()
for (Region.Operation c : Region.Operation.values()) System.out.println(c);
public static Region.Operation 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 © 2007–2020 The Apache Software Foundation. All rights reserved.