org.apache.hadoop.hbase.hql
Class HelpCommand
java.lang.Object
org.apache.hadoop.hbase.hql.BasicCommand
org.apache.hadoop.hbase.hql.HelpCommand
- All Implemented Interfaces:
- Command, CommandFactory
public class HelpCommand
- extends BasicCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APP_NAME
public static final String APP_NAME
- application name
- See Also:
- Constant Field Values
APP_VERSION
public static final String APP_VERSION
- version of the code
- See Also:
- Constant Field Values
help
public final Map<String,String[]> help
- help contents map
HelpCommand
public HelpCommand(Writer o,
TableFormatter f)
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 argument)
printVersion
public void printVersion()
throws IOException
- Print out the program version.
- Throws:
IOException
printHelp
public void printHelp(String cmd)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
Copyright © 2008 The Apache Software Foundation