public class RestoreUtils extends Object
| Constructor and Description |
|---|
RestoreUtils() |
| Modifier and Type | Method and Description |
|---|---|
static HoodieRestorePlan |
getRestorePlan(HoodieTableMetaClient metaClient,
HoodieInstant restoreInstant)
Get Latest version of Restore plan corresponding to a restore instant.
|
static String |
getSavepointToRestoreTimestamp(HoodieTable table,
HoodieInstant restoreInstant)
Get the savepoint timestamp that this restore instant is restoring
|
static String |
getSavepointToRestoreTimestampV1Schema(HoodieTable table,
HoodieRestorePlan plan) |
public static HoodieRestorePlan getRestorePlan(HoodieTableMetaClient metaClient, HoodieInstant restoreInstant) throws IOException
metaClient - Hoodie Table Meta ClientrestoreInstant - Instant referring to restore actionIOExceptionpublic static String getSavepointToRestoreTimestampV1Schema(HoodieTable table, HoodieRestorePlan plan)
public static String getSavepointToRestoreTimestamp(HoodieTable table, HoodieInstant restoreInstant) throws IOException
table - the HoodieTablerestoreInstant - Instant referring to restore actionIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.