@InterfaceAudience.Private @InterfaceStability.Evolving public final class BackupSystemTableHelper extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
BLK_LD_DELIM  | 
| Modifier and Type | Method and Description | 
|---|---|
static Delete | 
createDeleteForBackupInfo(String backupId)
Creates Delete operation for a given backup id 
 | 
static List<Delete> | 
createDeleteForOrigBulkLoad(List<TableName> lst)  | 
static Get | 
createGetForCheckWALFile(String file)
Creates Get operation for a given wal file name
 TODO: support for backup destination 
 | 
static List<Put> | 
createPutsForAddWALFiles(List<String> files,
                        String backupId,
                        String backupRoot)
Creates put list for list of WAL files 
 | 
static Scan | 
createScanForGetWALs(String backupRoot)
Creates Scan operation to load WALs
 TODO: support for backupRoot 
 | 
protected static final String BLK_LD_DELIM
public static Delete createDeleteForBackupInfo(String backupId)
backupId - - backup's IDIOException - exceptionpublic static List<Delete> createDeleteForOrigBulkLoad(List<TableName> lst)
public static List<Put> createPutsForAddWALFiles(List<String> files, String backupId, String backupRoot) throws IOException
files - list of WAL file pathsbackupId - backup idIOException - exceptionpublic static Scan createScanForGetWALs(String backupRoot)
backupRoot - - path to backup destinationpublic static Get createGetForCheckWALFile(String file) throws IOException
file - fileIOException - exception