Class BackupCommands.BackupSetCommand
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.backup.impl.BackupCommands.Command
org.apache.hadoop.hbase.backup.impl.BackupCommands.BackupSetCommand
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
- Enclosing class:
- BackupCommands
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
Fields inherited from class org.apache.hadoop.hbase.backup.impl.BackupCommands.Command
cmdline, conn
-
Constructor Summary
ConstructorDescriptionBackupSetCommand
(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
getCommand
(String cmdStr) protected void
private void
processSetAdd
(String[] args) private void
processSetDelete
(String[] args) private void
processSetDescribe
(String[] args) private void
private void
processSetRemove
(String[] args) private TableName[]
toTableNames
(String[] tables) Methods inherited from class org.apache.hadoop.hbase.backup.impl.BackupCommands.Command
finish, requiresConsistentState, requiresNoActiveSession
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Field Details
-
SET_ADD_CMD
- See Also:
-
SET_REMOVE_CMD
- See Also:
-
SET_DELETE_CMD
- See Also:
-
SET_DESCRIBE_CMD
- See Also:
-
SET_LIST_CMD
- See Also:
-
-
Constructor Details
-
BackupSetCommand
BackupSetCommand(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline)
-
-
Method Details
-
execute
- Overrides:
execute
in classBackupCommands.Command
- Throws:
IOException
-
processSetList
- Throws:
IOException
-
processSetDescribe
- Throws:
IOException
-
processSetDelete
- Throws:
IOException
-
processSetRemove
- Throws:
IOException
-
toTableNames
-
processSetAdd
- Throws:
IOException
-
getCommand
- Throws:
IOException
-
printUsage
- Specified by:
printUsage
in classBackupCommands.Command
-