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
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final StringFields inherited from class org.apache.hadoop.hbase.backup.impl.BackupCommands.Command
cmdline, conn -
Constructor Summary
ConstructorsConstructorDescriptionBackupSetCommand(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()getCommand(String cmdStr) protected voidprivate voidprocessSetAdd(String[] args) private voidprocessSetDelete(String[] args) private voidprocessSetDescribe(String[] args) private voidprivate voidprocessSetRemove(String[] args) private TableName[]toTableNames(String[] tables) Methods inherited from class org.apache.hadoop.hbase.backup.impl.BackupCommands.Command
finish, requiresConsistentState, requiresNoActiveSessionMethods 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:
executein 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:
printUsagein classBackupCommands.Command
-