public static class BackupCommands.BackupSetCommand extends BackupCommands.Command
Modifier and Type | Field and Description |
---|---|
private static String |
SET_ADD_CMD |
private static String |
SET_DELETE_CMD |
private static String |
SET_DESCRIBE_CMD |
private static String |
SET_LIST_CMD |
private static String |
SET_REMOVE_CMD |
cmdline, conn
Constructor and Description |
---|
BackupSetCommand(org.apache.hadoop.conf.Configuration conf,
org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
private BackupRestoreConstants.BackupCommand |
getCommand(String cmdStr) |
protected void |
printUsage() |
private void |
processSetAdd(String[] args) |
private void |
processSetDelete(String[] args) |
private void |
processSetDescribe(String[] args) |
private void |
processSetList() |
private void |
processSetRemove(String[] args) |
private TableName[] |
toTableNames(String[] tables) |
finish, requiresConsistentState, requiresNoActiveSession
private static final String SET_ADD_CMD
private static final String SET_REMOVE_CMD
private static final String SET_DELETE_CMD
private static final String SET_DESCRIBE_CMD
private static final String SET_LIST_CMD
BackupSetCommand(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline)
public void execute() throws IOException
execute
in class BackupCommands.Command
IOException
private void processSetList() throws IOException
IOException
private void processSetDescribe(String[] args) throws IOException
IOException
private void processSetDelete(String[] args) throws IOException
IOException
private void processSetRemove(String[] args) throws IOException
IOException
private TableName[] toTableNames(String[] tables)
private void processSetAdd(String[] args) throws IOException
IOException
private BackupRestoreConstants.BackupCommand getCommand(String cmdStr) throws IOException
IOException
protected void printUsage()
printUsage
in class BackupCommands.Command
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.