org.apache.hadoop.hbase.hql
Enum Command.CommandType
java.lang.Object
java.lang.Enum<Command.CommandType>
org.apache.hadoop.hbase.hql.Command.CommandType
- All Implemented Interfaces:
- Serializable, Comparable<Command.CommandType>
- Enclosing interface:
- Command
public static enum Command.CommandType
- extends Enum<Command.CommandType>
DDL
public static final Command.CommandType DDL
UPDATE
public static final Command.CommandType UPDATE
SELECT
public static final Command.CommandType SELECT
INSERT
public static final Command.CommandType INSERT
DELETE
public static final Command.CommandType DELETE
SHELL
public static final Command.CommandType SHELL
values
public static final Command.CommandType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Command.CommandType c : Command.CommandType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Command.CommandType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2006 The Apache Software Foundation