org.apache.accumulo.core.util.shell.commands
Class CompactCommand

java.lang.Object
  extended by org.apache.accumulo.core.util.shell.Shell.Command
      extended by org.apache.accumulo.core.util.shell.commands.TableOperation
          extended by org.apache.accumulo.core.util.shell.commands.CompactCommand

public class CompactCommand
extends TableOperation


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.accumulo.core.util.shell.Shell.Command
Shell.Command.CompletionSet
 
Field Summary
 
Fields inherited from class org.apache.accumulo.core.util.shell.commands.TableOperation
optTableName, optTablePattern
 
Constructor Summary
CompactCommand()
           
 
Method Summary
 String description()
           
protected  void doTableOp(Shell shellState, String tableName)
           
 int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState)
           
 org.apache.commons.cli.Options getOptions()
           
 
Methods inherited from class org.apache.accumulo.core.util.shell.commands.TableOperation
disableUnflaggedTableOptions, force, noForce, numArgs, registerCompletion, usage
 
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompactCommand

public CompactCommand()
Method Detail

description

public String description()
Overrides:
description in class TableOperation

doTableOp

protected void doTableOp(Shell shellState,
                         String tableName)
                  throws AccumuloException,
                         AccumuloSecurityException
Specified by:
doTableOp in class TableOperation
Throws:
AccumuloException
AccumuloSecurityException

execute

public int execute(String fullCommand,
                   org.apache.commons.cli.CommandLine cl,
                   Shell shellState)
            throws Exception
Overrides:
execute in class TableOperation
Throws:
Exception

getOptions

public org.apache.commons.cli.Options getOptions()
Overrides:
getOptions in class TableOperation


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.