Uses of Interface
org.apache.hadoop.hbase.backup.impl.PitrBackupMetadata
Packages that use PitrBackupMetadata
-
Uses of PitrBackupMetadata in org.apache.hadoop.hbase.backup.impl
Classes in org.apache.hadoop.hbase.backup.impl that implement PitrBackupMetadataModifier and TypeClassDescriptionclassAdapter that wraps aBackupManifest.BackupImageto expose it asPitrBackupMetadata.classAdapter that wraps aBackupInfoto expose it asPitrBackupMetadata.Methods in org.apache.hadoop.hbase.backup.impl that return PitrBackupMetadataModifier and TypeMethodDescriptionprivate PitrBackupMetadataAbstractPitrRestoreHandler.getValidBackup(TableName sTableName, TableName tTablename, long endTime, Map<TableName, Long> continuousBackupTables, List<PitrBackupMetadata> backups) Finds and returns the first valid backup metadata entry that can be used to restore the given source table up to the specified end time.Methods in org.apache.hadoop.hbase.backup.impl that return types with arguments of type PitrBackupMetadataModifier and TypeMethodDescriptionprotected abstract List<PitrBackupMetadata>AbstractPitrRestoreHandler.getBackupMetadata(PointInTimeRestoreRequest request) protected List<PitrBackupMetadata>CustomBackupLocationPitrRestoreHandler.getBackupMetadata(PointInTimeRestoreRequest request) Retrieves completed backup entries from the given custom backup root directory and converts them intoPitrBackupMetadatausingBackupImageAdapter.protected List<PitrBackupMetadata>DefaultPitrRestoreHandler.getBackupMetadata(PointInTimeRestoreRequest request) Retrieves completed backup entries from the BackupSystemTable and converts them intoPitrBackupMetadatausingBackupInfoAdapter.Methods in org.apache.hadoop.hbase.backup.impl with parameters of type PitrBackupMetadataModifier and TypeMethodDescriptionprivate booleanAbstractPitrRestoreHandler.isValidBackupForPitr(PitrBackupMetadata backupMetadata, TableName tableName, long endTime, Map<TableName, Long> continuousBackupTables) Determines if the given backup is valid for PITR.Method parameters in org.apache.hadoop.hbase.backup.impl with type arguments of type PitrBackupMetadataModifier and TypeMethodDescriptionprivate booleanAbstractPitrRestoreHandler.canPerformPitr(TableName stableName, TableName tTableName, long endTime, Map<TableName, Long> continuousBackupTables, List<PitrBackupMetadata> backups) Checks whether PITR can be performed for a given source-target table pair.private PitrBackupMetadataAbstractPitrRestoreHandler.getValidBackup(TableName sTableName, TableName tTablename, long endTime, Map<TableName, Long> continuousBackupTables, List<PitrBackupMetadata> backups) Finds and returns the first valid backup metadata entry that can be used to restore the given source table up to the specified end time.private voidAbstractPitrRestoreHandler.restoreTableWithWalReplay(TableName sourceTable, TableName targetTable, long endTime, Map<TableName, Long> continuousBackupTables, List<PitrBackupMetadata> backupMetadataList, PointInTimeRestoreRequest request) Restores the table using the selected backup and replays WALs from the backup start time to the requested end time.private voidAbstractPitrRestoreHandler.validateBackupAvailability(TableName[] sTableArray, TableName[] tTableArray, long endTime, Map<TableName, Long> continuousBackupTables, List<PitrBackupMetadata> backups) Ensures that a valid backup and corresponding WALs exist for PITR for each source table.