org.apache.hadoop.hbase.shell
Class ShowCommand

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

public class ShowCommand
extends BasicCommand

Shows all available 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
ShowCommand(Writer o, TableFormatter f)
           
ShowCommand(Writer o, TableFormatter f, String argument)
           
 
Method Summary
 ReturnMsg execute(Configuration conf)
          Execute a command
 void setArgument(String argument)
           
 
Methods inherited from class org.apache.hadoop.hbase.shell.BasicCommand
appendDelimiter, extractErrMsg, extractErrMsg, getBasicCommand, getCommand, getCommandType, getOut, print, println
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowCommand

public ShowCommand(Writer o,
                   TableFormatter f)

ShowCommand

public ShowCommand(Writer o,
                   TableFormatter f,
                   String argument)
Method Detail

execute

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

Parameters:
conf - Configuration
Returns:
Result of command execution

setArgument

public void setArgument(String argument)


Copyright © 2006 The Apache Software Foundation