public class HBaseApplicationConfig extends ApplicationConfig
An HBase application can be configured with properties about backup and restore.
| Constructor and Description |
|---|
HBaseApplicationConfig() |
| Modifier and Type | Method and Description |
|---|---|
HBaseApplicationConfig |
withBackupEnabled(boolean backupEnabled)
Configure the switch of HBase backup.
|
HBaseApplicationConfig |
withBackupIntervalInMinutes(int minutes)
Configure the interval time for backup.
|
HBaseApplicationConfig |
withBackupLocation(String backupLocation)
Configure the BOS path for HBase backup.
|
HBaseApplicationConfig |
withBackupStartDatetime(String startDatetime)
Configure the start dateTime for backup.
|
HBaseApplicationConfig |
withRestoreEnabled(boolean restoreEnabled)
Configure the switch of HBase restore.
|
HBaseApplicationConfig |
withRestoreLocation(String restoreLocation)
Configure the BOS path for HBase restore.
|
HBaseApplicationConfig |
withRestoreVersion(String restoreVersion)
Configure the version of backup files for HBase restore.
|
HBaseApplicationConfig |
withVersion(String version)
Configure the version of HBase.
|
addProperty, getName, getProperties, getVersion, setName, setProperties, setVersionpublic HBaseApplicationConfig withVersion(String version)
image type | image version | hbase version supported hadoop | 0.1.0 | 0.98.0 hadoop | 0.1.0 | 0.98.0
version - The version of HBase.public HBaseApplicationConfig withBackupEnabled(boolean backupEnabled)
backupEnabled - The switch of backup. Turn it on by setting true.public HBaseApplicationConfig withBackupLocation(String backupLocation)
backupLocation - The BOS path for backup.public HBaseApplicationConfig withBackupIntervalInMinutes(int minutes)
minutes - The number of minutes for backup interval time.public HBaseApplicationConfig withBackupStartDatetime(String startDatetime)
startDatetime - The start date time for HBase backup.public HBaseApplicationConfig withRestoreEnabled(boolean restoreEnabled)
restoreEnabled - The switch of restore. Turn it on by setting true.public HBaseApplicationConfig withRestoreLocation(String restoreLocation)
restoreLocation - The BOS path for restore.public HBaseApplicationConfig withRestoreVersion(String restoreVersion)
restoreVersion - The version of HBase backup files.Copyright © 2022. All rights reserved.