org.apache.accumulo.core.util.shell
Class Shell.FlushCommand
java.lang.Object
org.apache.accumulo.core.util.shell.Shell.Command
org.apache.accumulo.core.util.shell.Shell.FlushCommand
- Direct Known Subclasses:
- Shell.CompactCommand, Shell.OfflineCommand, Shell.OnlineCommand
- Enclosing class:
- Shell
public static class Shell.FlushCommand
- extends Shell.Command
Method Summary |
java.lang.String |
description()
|
int |
execute(java.lang.String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState)
|
protected void |
flush(Shell shellState,
java.lang.String tableName)
|
org.apache.commons.cli.Options |
getOptions()
|
int |
numArgs()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shell.FlushCommand
public Shell.FlushCommand()
execute
public int execute(java.lang.String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws java.lang.Exception
- Specified by:
execute
in class Shell.Command
- Throws:
java.lang.Exception
flush
protected void flush(Shell shellState,
java.lang.String tableName)
throws AccumuloException,
AccumuloSecurityException
- Throws:
AccumuloException
AccumuloSecurityException
description
public java.lang.String description()
- Specified by:
description
in class Shell.Command
getOptions
public org.apache.commons.cli.Options getOptions()
- Overrides:
getOptions
in class Shell.Command
numArgs
public int numArgs()
- Specified by:
numArgs
in class Shell.Command
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.