public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isRestoreDBEmpty(RestoreDB db) |
static void |
loadPartitionsIntoRestoreDB(File partitionFile,
RestoreDB restoreDB) |
static void |
loadPartitionsIntoRestoreDB(File partitionFile,
RestoreDB restoreDB,
Set<String> topics) |
static Job |
loadTopicPartitions(File partitionFile,
Set<String> topics) |
public static void loadPartitionsIntoRestoreDB(File partitionFile, RestoreDB restoreDB)
public static void loadPartitionsIntoRestoreDB(File partitionFile, RestoreDB restoreDB, Set<String> topics)
public static boolean isRestoreDBEmpty(RestoreDB db)