public static enum HBaseSemanticAttributes.Operation extends Enum<HBaseSemanticAttributes.Operation>
HBaseSemanticAttributes.DB_OPERATION
. They correspond with the implementations of
org.apache.hadoop.hbase.client.Operation
, as well as
org.apache.hadoop.hbase.client.CheckAndMutate
, and "MULTI", meaning a batch of multiple
operations.Enum Constant and Description |
---|
APPEND |
BATCH |
CHECK_AND_MUTATE |
COPROC_EXEC |
DELETE |
GET |
INCREMENT |
PUT |
SCAN |
Modifier and Type | Method and Description |
---|---|
static HBaseSemanticAttributes.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HBaseSemanticAttributes.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HBaseSemanticAttributes.Operation APPEND
public static final HBaseSemanticAttributes.Operation BATCH
public static final HBaseSemanticAttributes.Operation CHECK_AND_MUTATE
public static final HBaseSemanticAttributes.Operation COPROC_EXEC
public static final HBaseSemanticAttributes.Operation DELETE
public static final HBaseSemanticAttributes.Operation GET
public static final HBaseSemanticAttributes.Operation INCREMENT
public static final HBaseSemanticAttributes.Operation PUT
public static final HBaseSemanticAttributes.Operation SCAN
public static HBaseSemanticAttributes.Operation[] values()
for (HBaseSemanticAttributes.Operation c : HBaseSemanticAttributes.Operation.values()) System.out.println(c);
public static HBaseSemanticAttributes.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.