public class MobSnapshotTestingUtils
extends java.lang.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 java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic static Table createMobTable(HBaseTestingUtility util,
TableName tableName,
byte[]... families)
throws java.io.IOException
util - tableName - families - java.io.IOExceptionpublic static int countMobRows(Table table)
throws java.io.IOException
java.io.IOExceptionpublic static int countMobRows(Table table,
byte[]... families)
throws java.io.IOException
java.io.IOExceptionpublic static void verifyMobRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows)
throws java.io.IOException
java.io.IOException