org.apache.hadoop.hbase.shell
Class DropCommand

java.lang.Object
  extended by org.apache.hadoop.hbase.shell.BasicCommand
      extended by org.apache.hadoop.hbase.shell.DropCommand
All Implemented Interfaces:
Command, CommandFactory

public class DropCommand
extends BasicCommand

Drops tables.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.shell.Command
Command.CommandType
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.shell.BasicCommand
LINE_SEPARATOR
 
Fields inherited from interface org.apache.hadoop.hbase.shell.Command
FAMILY_INDICATOR
 
Constructor Summary
DropCommand(Writer o)
           
 
Method Summary
 ReturnMsg execute(Configuration conf)
          Execute a command
 Command.CommandType getCommandType()
           
 void setTableList(List<String> tableList)
           
 
Methods inherited from class org.apache.hadoop.hbase.shell.BasicCommand
appendDelimiter, extractErrMsg, extractErrMsg, getBasicCommand, getCommand, getOut, print, println
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropCommand

public DropCommand(Writer o)
Method Detail

execute

public ReturnMsg execute(Configuration conf)
Description copied from interface: Command
Execute a command

Parameters:
conf - Configuration
Returns:
Result of command execution

setTableList

public void setTableList(List<String> tableList)

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