Package org.apache.bookkeeper.metastore
Class MetastoreUtils
- java.lang.Object
-
- org.apache.bookkeeper.metastore.MetastoreUtils
-
public class MetastoreUtils extends java.lang.Object
Provides utilities for metastore.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
MetastoreUtils.MultiMetastoreCallback<T>
(package private) static class
MetastoreUtils.SyncMetastoreCallback<T>
-
Constructor Summary
Constructors Constructor Description MetastoreUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
cleanTable(MetastoreTable table, int numEntriesPerScan)
Clean the given table.
-
-
-
Method Detail
-
cleanTable
public static void cleanTable(MetastoreTable table, int numEntriesPerScan) throws MSException, java.lang.InterruptedException
Clean the given table.- Parameters:
table
- Metastore Table.numEntriesPerScan
- Num entries per scan.- Throws:
MSException
java.lang.InterruptedException
-
-