org.apache.hadoop.hbase.shell
Class DeleteCommand
java.lang.Object
org.apache.hadoop.hbase.shell.BasicCommand
org.apache.hadoop.hbase.shell.DeleteCommand
- All Implemented Interfaces:
- Command, CommandFactory
public class DeleteCommand
- extends BasicCommand
Deletes values from tables.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteCommand
public DeleteCommand(Writer o)
execute
public ReturnMsg execute(Configuration conf)
- Description copied from interface:
Command
- Execute a command
- Parameters:
conf
- Configuration
- Returns:
- Result of command execution
setTable
public void setTable(String table)
setRow
public void setRow(String row)
setColumnList
public void setColumnList(List<String> columnList)
- Sets the column list.
- Parameters:
columnList
-
getColumnList
public Text[] getColumnList(HBaseAdmin admin,
HTable hTable)
- Parameters:
admin
- hTable
-
- Returns:
- return the column list.
getCommandType
public Command.CommandType getCommandType()
- Specified by:
getCommandType
in interface Command
- Overrides:
getCommandType
in class BasicCommand
- Returns:
- Type of this command whether DDL, SELECT, INSERT, UPDATE, DELETE,
or SHELL.
Copyright © 2006 The Apache Software Foundation