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

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

public class FlushCommand
extends Shell.TableOperation


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.accumulo.core.util.shell.Shell.Command
Shell.Command.CompletionSet
 
Constructor Summary
FlushCommand()
           
 
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.Shell.TableOperation
numArgs
 
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlushCommand

public FlushCommand()
Method Detail

description

public String description()
Overrides:
description in class Shell.TableOperation

doTableOp

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

execute

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

getOptions

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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.