Class CompactCommand
- java.lang.Object
-
- org.apache.accumulo.shell.Shell.Command
-
- org.apache.accumulo.shell.commands.TableOperation
-
- org.apache.accumulo.shell.commands.CompactCommand
-
public class CompactCommand extends TableOperation
-
-
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 Constructor Description CompactCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()protected voiddoTableOp(Shell shellState, String tableName)intexecute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState)org.apache.commons.cli.OptionsgetOptions()-
Methods inherited from class org.apache.accumulo.shell.commands.TableOperation
disableUnflaggedTableOptions, force, noForce, numArgs, pruneTables, registerCompletion, usage
-
Methods inherited from class org.apache.accumulo.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
-
-
-
-
Method Detail
-
description
public String 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
-
-