public class MobSnapshotTestingUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MobSnapshotTestingUtils.SnapshotMock |
| Constructor and Description |
|---|
MobSnapshotTestingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
countMobRows(Table table)
Return the number of rows in the given table.
|
static int |
countMobRows(Table table,
byte[]... families)
Return the number of rows in the given table.
|
static Table |
createMobTable(HBaseTestingUtility util,
TableName tableName,
byte[]... families)
Create a Mob table.
|
static void |
createMobTable(HBaseTestingUtility util,
TableName tableName,
int regionReplication,
byte[]... families)
Create the Mob Table.
|
static void |
verifyMobRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
public static void createMobTable(HBaseTestingUtility util,
TableName tableName,
int regionReplication,
byte[]... families)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic static Table createMobTable(HBaseTestingUtility util,
TableName tableName,
byte[]... families)
throws IOException
util - tableName - families - IOExceptionpublic static int countMobRows(Table table)
throws IOException
IOExceptionpublic static int countMobRows(Table table,
byte[]... families)
throws IOException
IOExceptionpublic static void verifyMobRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows)
throws IOException
IOException