Class CompactCommand
java.lang.Object
org.apache.accumulo.shell.Shell.Command
org.apache.accumulo.shell.commands.TableOperation
org.apache.accumulo.shell.commands.CompactCommand
-
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.OptionsMethods inherited from class org.apache.accumulo.shell.commands.TableOperation
disableUnflaggedTableOptions, force, noForce, numArgs, pruneTables, registerCompletion, usageMethods inherited from class org.apache.accumulo.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
-
Constructor Details
-
CompactCommand
public CompactCommand()
-
-
Method Details
-
description
- Overrides:
descriptionin classTableOperation
-
doTableOp
protected void doTableOp(Shell shellState, String tableName) throws AccumuloException, AccumuloSecurityException - Specified by:
doTableOpin classTableOperation- Throws:
AccumuloExceptionAccumuloSecurityException
-
execute
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws Exception - Overrides:
executein classTableOperation- Throws:
Exception
-
getOptions
public org.apache.commons.cli.Options getOptions()- Overrides:
getOptionsin classTableOperation
-