org.apache.accumulo.core.util.shell.commands
Class CreateTableCommand
java.lang.Object
org.apache.accumulo.core.util.shell.Shell.Command
org.apache.accumulo.core.util.shell.commands.CreateTableCommand
public class CreateTableCommand
- extends Shell.Command
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateTableCommand
public CreateTableCommand()
execute
public int execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws AccumuloException,
AccumuloSecurityException,
TableExistsException,
TableNotFoundException,
IOException,
ClassNotFoundException
- Specified by:
execute
in class Shell.Command
- Throws:
AccumuloException
AccumuloSecurityException
TableExistsException
TableNotFoundException
IOException
ClassNotFoundException
description
public String description()
- Specified by:
description
in class Shell.Command
usage
public String usage()
- Overrides:
usage
in class Shell.Command
getOptions
public org.apache.commons.cli.Options getOptions()
- Overrides:
getOptions
in class Shell.Command
numArgs
public int numArgs()
- Description copied from class:
Shell.Command
- If the number of arguments is not always zero (not including those arguments handled through Options), make sure to override the
Shell.Command.usage()
method.
Otherwise, Shell.Command.usage()
does need to be overridden.
- Specified by:
numArgs
in class Shell.Command
registerCompletion
public void registerCompletion(Token root,
Map<Shell.Command.CompletionSet,Set<String>> special)
- Overrides:
registerCompletion
in class Shell.Command
Copyright © 2015 Apache Accumulo Project. All rights reserved.