public enum RequestType extends Enum<RequestType>
| Enum Constant and Description |
|---|
BATCH_GET_ITEM |
BATCH_WRITE_ITEM |
CREATE_TABLE |
DELETE |
DELETE_TABLE |
DESCRIBE_TABLE |
GET |
LIST_TABLES |
PUT |
QUERY |
SCAN |
UNKNOWN |
UPDATE |
UPDATE_TABLE |
| Modifier and Type | Method and Description |
|---|---|
static RequestType |
fromString(String value) |
String |
toString() |
static RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestType PUT
public static final RequestType GET
public static final RequestType UPDATE
public static final RequestType DELETE
public static final RequestType BATCH_GET_ITEM
public static final RequestType BATCH_WRITE_ITEM
public static final RequestType QUERY
public static final RequestType SCAN
public static final RequestType CREATE_TABLE
public static final RequestType DESCRIBE_TABLE
public static final RequestType LIST_TABLES
public static final RequestType UPDATE_TABLE
public static final RequestType DELETE_TABLE
public static final RequestType UNKNOWN
public static RequestType[] values()
for (RequestType c : RequestType.values()) System.out.println(c);
public static RequestType 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 String toString()
toString in class Enum<RequestType>public static RequestType fromString(String value)
Copyright © 2014. All Rights Reserved.