@InterfaceAudience.Private @InterfaceStability.Evolving public interface RestoreClient
| Modifier and Type | Method and Description |
|---|---|
void |
restore(java.lang.String backupRootDir,
java.lang.String backupId,
boolean check,
TableName[] sTableArray,
TableName[] tTableArray,
boolean isOverwrite)
Restore operation.
|
void |
setConf(Configuration conf) |
void setConf(Configuration conf)
void restore(java.lang.String backupRootDir,
java.lang.String backupId,
boolean check,
TableName[] sTableArray,
TableName[] tTableArray,
boolean isOverwrite)
throws java.io.IOException
backupRootDir - The root dir for backup imagebackupId - The backup id for image to be restoredcheck - True if only do dependency checksTableArray - The array of tables to be restoredtTableArray - The array of mapping tables to restore toisOverwrite - True then do restore overwrite if target table exists, otherwise fail the
request if target table existsjava.io.IOException - if any failure during restore