org.apache.accumulo.core.util.shell.commands
Class DeleteTableCommand
java.lang.Object
org.apache.accumulo.core.util.shell.Shell.Command
org.apache.accumulo.core.util.shell.commands.TableOperation
org.apache.accumulo.core.util.shell.commands.DeleteTableCommand
- Direct Known Subclasses:
- DropTableCommand
public class DeleteTableCommand
- extends TableOperation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteTableCommand
public DeleteTableCommand()
execute
public int execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws Exception
- Overrides:
execute
in class TableOperation
- Throws:
Exception
description
public String description()
- Overrides:
description
in class TableOperation
doTableOp
protected void doTableOp(Shell shellState,
String tableName)
throws Exception
- Specified by:
doTableOp
in class TableOperation
- Throws:
Exception
getOptions
public org.apache.commons.cli.Options getOptions()
- Overrides:
getOptions
in class TableOperation
pruneTables
protected void pruneTables(String pattern,
Set<String> tables)
- Description copied from class:
TableOperation
- Allows implementation to remove certain tables from the set of tables to be operated on.
- Overrides:
pruneTables
in class TableOperation
- Parameters:
pattern
- The pattern which tables were selected usingtables
- A reference to the Set of tables to be operated on
Copyright © 2015 Apache Accumulo Project. All rights reserved.