Class DeleteTableCommand
java.lang.Object
org.apache.accumulo.shell.Shell.Command
org.apache.accumulo.shell.commands.TableOperation
org.apache.accumulo.shell.commands.DeleteTableCommand
- Direct Known Subclasses:
DropTableCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.accumulo.shell.Shell.Command
Shell.Command.CompletionSet -
Field Summary
Fields inherited from class org.apache.accumulo.shell.commands.TableOperation
optNamespace, optTableName, optTablePattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidintorg.apache.commons.cli.Optionsprotected voidpruneTables(Set<String> tables) Allows implementation to remove certain tables from the set of tables to be operated on.Methods inherited from class org.apache.accumulo.shell.commands.TableOperation
disableUnflaggedTableOptions, force, noForce, numArgs, registerCompletion, usageMethods inherited from class org.apache.accumulo.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
-
Constructor Details
-
DeleteTableCommand
public DeleteTableCommand()
-
-
Method Details
-
execute
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws Exception - Overrides:
executein classTableOperation- Throws:
Exception
-
description
- Overrides:
descriptionin classTableOperation
-
doTableOp
- Specified by:
doTableOpin classTableOperation- Throws:
Exception
-
getOptions
public org.apache.commons.cli.Options getOptions()- Overrides:
getOptionsin classTableOperation
-
pruneTables
Description copied from class:TableOperationAllows implementation to remove certain tables from the set of tables to be operated on.- Overrides:
pruneTablesin classTableOperation- Parameters:
tables- A reference to the Set of tables to be operated on
-