Class OptUtil
- java.lang.Object
-
- org.apache.accumulo.shell.commands.OptUtil
-
public abstract class OptUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOptUtil.AdlOpt
-
Field Summary
Fields Modifier and Type Field Description static StringEND_ROW_OPTstatic StringIGNORE_EMPTY_BULKDIR_OPTstatic StringSTART_ROW_OPT
-
Constructor Summary
Constructors Constructor Description OptUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.cli.OptionGroupaddListDeleteGroup(String name)static org.apache.commons.cli.OptionendRowOpt()static OptUtil.AdlOptgetAldOpt(org.apache.commons.cli.CommandLine cl)static org.apache.hadoop.io.TextgetEndRow(org.apache.commons.cli.CommandLine cl)static booleangetIgnoreEmptyDirOpt(org.apache.commons.cli.CommandLine cl, Shell shellState)static StringgetNamespaceOpt(org.apache.commons.cli.CommandLine cl, Shell shellState)static org.apache.hadoop.io.TextgetStartRow(org.apache.commons.cli.CommandLine cl)static StringgetTableOpt(org.apache.commons.cli.CommandLine cl, Shell shellState)static org.apache.commons.cli.OptionignoreEmptyDirOpt()static org.apache.commons.cli.OptionignoreEmptyDirOpt(String description)static org.apache.commons.cli.OptionnamespaceOpt()static org.apache.commons.cli.OptionnamespaceOpt(String description)static org.apache.commons.cli.OptionstartRowOpt()static org.apache.commons.cli.OptiontableOpt()static org.apache.commons.cli.OptiontableOpt(String description)
-
-
-
Field Detail
-
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
-
IGNORE_EMPTY_BULKDIR_OPT
public static final String IGNORE_EMPTY_BULKDIR_OPT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTableOpt
public static String getTableOpt(org.apache.commons.cli.CommandLine cl, Shell shellState) throws TableNotFoundException
- Throws:
TableNotFoundException
-
getIgnoreEmptyDirOpt
public static boolean getIgnoreEmptyDirOpt(org.apache.commons.cli.CommandLine cl, Shell shellState)
-
getNamespaceOpt
public static String getNamespaceOpt(org.apache.commons.cli.CommandLine cl, Shell shellState) throws NamespaceNotFoundException, AccumuloException, AccumuloSecurityException
-
tableOpt
public static org.apache.commons.cli.Option tableOpt()
-
tableOpt
public static org.apache.commons.cli.Option tableOpt(String description)
-
ignoreEmptyDirOpt
public static org.apache.commons.cli.Option ignoreEmptyDirOpt()
-
ignoreEmptyDirOpt
public static org.apache.commons.cli.Option ignoreEmptyDirOpt(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
-
-