org.apache.accumulo.core.util.shell.commands
Class OptUtil
java.lang.Object
org.apache.accumulo.core.util.shell.commands.OptUtil
public abstract class OptUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
START_ROW_OPT
public static final String START_ROW_OPT
- See Also:
- Constant Field Values
END_ROW_OPT
public static final String END_ROW_OPT
- See Also:
- Constant Field Values
OptUtil
public OptUtil()
getTableOpt
public static String getTableOpt(org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws TableNotFoundException
- Throws:
TableNotFoundException
getNamespaceOpt
public static String getNamespaceOpt(org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws NamespaceNotFoundException,
AccumuloException,
AccumuloSecurityException
- Throws:
NamespaceNotFoundException
AccumuloException
AccumuloSecurityException
tableOpt
public static org.apache.commons.cli.Option tableOpt()
tableOpt
public static org.apache.commons.cli.Option tableOpt(String description)
namespaceOpt
public static org.apache.commons.cli.Option namespaceOpt()
namespaceOpt
public static org.apache.commons.cli.Option namespaceOpt(String description)
getAldOpt
public static OptUtil.AdlOpt getAldOpt(org.apache.commons.cli.CommandLine cl)
addListDeleteGroup
public static org.apache.commons.cli.OptionGroup addListDeleteGroup(String name)
startRowOpt
public static org.apache.commons.cli.Option startRowOpt()
endRowOpt
public static org.apache.commons.cli.Option endRowOpt()
getStartRow
public static org.apache.hadoop.io.Text getStartRow(org.apache.commons.cli.CommandLine cl)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getEndRow
public static org.apache.hadoop.io.Text getEndRow(org.apache.commons.cli.CommandLine cl)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
Copyright © 2015 Apache Accumulo Project. All rights reserved.