org.apache.hadoop.hbase.hql
Class DescCommand

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

public class DescCommand
extends BasicCommand

Prints information about tables.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.hql.Command
Command.CommandType
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.hql.BasicCommand
LINE_SEPARATOR, TABLE_NOT_FOUND
 
Fields inherited from interface org.apache.hadoop.hbase.hql.Command
FAMILY_INDICATOR
 
Constructor Summary
DescCommand(Writer o, TableFormatter f)
           
 
Method Summary
 ReturnMsg execute(HBaseConfiguration conf)
          Execute a command
 void setArgument(String table)
           
 
Methods inherited from class org.apache.hadoop.hbase.hql.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

DescCommand

public DescCommand(Writer o,
                   TableFormatter f)
Method Detail

execute

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

Parameters:
conf - Configuration
Returns:
Result of command execution

setArgument

public void setArgument(String table)


Copyright © 2008 The Apache Software Foundation