org.apache.accumulo.core.util.shell.commands
public abstract class OptUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OptUtil.AdlOpt |
Modifier and Type | Field and Description |
---|---|
static String |
END_ROW_OPT |
static String |
START_ROW_OPT |
Constructor and Description |
---|
OptUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.cli.OptionGroup |
addListDeleteGroup(String name) |
static org.apache.commons.cli.Option |
endRowOpt() |
static OptUtil.AdlOpt |
getAldOpt(org.apache.commons.cli.CommandLine cl) |
static org.apache.hadoop.io.Text |
getEndRow(org.apache.commons.cli.CommandLine cl) |
static String |
getNamespaceOpt(org.apache.commons.cli.CommandLine cl,
Shell shellState) |
static org.apache.hadoop.io.Text |
getStartRow(org.apache.commons.cli.CommandLine cl) |
static String |
getTableOpt(org.apache.commons.cli.CommandLine cl,
Shell shellState) |
static org.apache.commons.cli.Option |
namespaceOpt() |
static org.apache.commons.cli.Option |
namespaceOpt(String description) |
static org.apache.commons.cli.Option |
startRowOpt() |
static org.apache.commons.cli.Option |
tableOpt() |
static org.apache.commons.cli.Option |
tableOpt(String description) |
public static final String START_ROW_OPT
public static final String END_ROW_OPT
public static String getTableOpt(org.apache.commons.cli.CommandLine cl, Shell shellState) throws TableNotFoundException
TableNotFoundException
public static String getNamespaceOpt(org.apache.commons.cli.CommandLine cl, Shell shellState) throws NamespaceNotFoundException, AccumuloException, AccumuloSecurityException
public static org.apache.commons.cli.Option tableOpt()
public static org.apache.commons.cli.Option tableOpt(String description)
public static org.apache.commons.cli.Option namespaceOpt()
public static org.apache.commons.cli.Option namespaceOpt(String description)
public static OptUtil.AdlOpt getAldOpt(org.apache.commons.cli.CommandLine cl)
public static org.apache.commons.cli.OptionGroup addListDeleteGroup(String name)
public static org.apache.commons.cli.Option startRowOpt()
public static org.apache.commons.cli.Option endRowOpt()
public static org.apache.hadoop.io.Text getStartRow(org.apache.commons.cli.CommandLine cl) throws UnsupportedEncodingException
UnsupportedEncodingException
public static org.apache.hadoop.io.Text getEndRow(org.apache.commons.cli.CommandLine cl) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.