public static enum KeyValue.Type extends Enum<KeyValue.Type>
Enum Constant and Description |
---|
Delete |
DeleteColumn |
DeleteFamily |
DeleteFamilyVersion |
Maximum |
Minimum |
Put |
Modifier and Type | Field and Description |
---|---|
private byte |
code |
Modifier and Type | Method and Description |
---|---|
static KeyValue.Type |
codeToType(byte b)
Cannot rely on enum ordinals .
|
byte |
getCode() |
static KeyValue.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyValue.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyValue.Type Minimum
public static final KeyValue.Type Put
public static final KeyValue.Type Delete
public static final KeyValue.Type DeleteFamilyVersion
public static final KeyValue.Type DeleteColumn
public static final KeyValue.Type DeleteFamily
public static final KeyValue.Type Maximum
public static KeyValue.Type[] values()
for (KeyValue.Type c : KeyValue.Type.values()) System.out.println(c);
public static KeyValue.Type 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 byte getCode()
public static KeyValue.Type codeToType(byte b)
b
- Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.