public static enum HRegion.Operation extends Enum<HRegion.Operation>
HRegion.startRegionOperation()
to provide operation context for
startRegionOperation to possibly invoke different checks before any region operations. Not all
operations have to be defined here. It's only needed when a special check is need in
startRegionOperationEnum Constant and Description |
---|
ANY |
APPEND |
BATCH_MUTATE |
COMPACT_REGION |
DELETE |
GET |
INCREMENT |
MERGE_REGION |
PUT |
REPLAY_BATCH_MUTATE |
SCAN |
SPLIT_REGION |
Modifier and Type | Method and Description |
---|---|
static HRegion.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HRegion.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HRegion.Operation ANY
public static final HRegion.Operation GET
public static final HRegion.Operation PUT
public static final HRegion.Operation DELETE
public static final HRegion.Operation SCAN
public static final HRegion.Operation APPEND
public static final HRegion.Operation INCREMENT
public static final HRegion.Operation SPLIT_REGION
public static final HRegion.Operation MERGE_REGION
public static final HRegion.Operation BATCH_MUTATE
public static final HRegion.Operation REPLAY_BATCH_MUTATE
public static final HRegion.Operation COMPACT_REGION
public static HRegion.Operation[] values()
for (HRegion.Operation c : HRegion.Operation.values()) System.out.println(c);
public static HRegion.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 © 2015 The Apache Software Foundation. All Rights Reserved.