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(org.apache.hadoop.hbase.client.Table table,
byte[]... families)
Return the number of rows in the given table.
|
static org.apache.hadoop.hbase.client.Table |
createMobTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
byte[]... families)
Create a Mob table.
|
static void |
createMobTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
byte[][] splitKeys,
int regionReplication,
byte[]... families) |
static void |
createMobTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
byte[][] splitKeys,
int regionReplication,
String storeFileTracker,
byte[]... families) |
static void |
createMobTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
byte[][] splitKeys,
int regionReplication,
String storeFileTracker,
String cpClassName,
byte[]... families) |
static void |
createMobTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
int regionReplication,
byte[]... families)
Create the Mob Table.
|
static void |
createMobTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
int regionReplication,
String storeFileTracker,
byte[]... families) |
static void |
createPreSplitMobTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
int nRegions,
byte[]... families) |
static void |
verifyMobRowCount(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
long expectedRows) |
public MobSnapshotTestingUtils()
public static void createMobTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[]... families) throws IOException, InterruptedException
IOException
InterruptedException
public static void createMobTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, int regionReplication, String storeFileTracker, byte[]... families) throws IOException, InterruptedException
IOException
InterruptedException
public static void createPreSplitMobTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, int nRegions, byte[]... families) throws IOException, InterruptedException
IOException
InterruptedException
public static void createMobTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys, int regionReplication, byte[]... families) throws IOException, InterruptedException
IOException
InterruptedException
public static void createMobTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys, int regionReplication, String storeFileTracker, byte[]... families) throws IOException, InterruptedException
IOException
InterruptedException
public static void createMobTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys, int regionReplication, String storeFileTracker, String cpClassName, byte[]... families) throws IOException, InterruptedException
IOException
InterruptedException
public static org.apache.hadoop.hbase.client.Table createMobTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, byte[]... families) throws IOException
IOException
public static int countMobRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws IOException
IOException
public static void verifyMobRowCount(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.