public class TestCompactionWithByteBuff extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COLUMN |
private static org.apache.hadoop.conf.Configuration |
conf |
org.junit.rules.TestName |
name |
private static int |
REGION_COUNT |
private static long |
ROW_COUNT |
private static int |
ROW_LENGTH |
private static HBaseTestingUtility |
TEST_UTIL |
private static int |
VALUE_LENGTH |
Constructor and Description |
---|
TestCompactionWithByteBuff() |
Modifier and Type | Method and Description |
---|---|
private String |
buildRow(int index) |
private byte[] |
buildValue(int index,
int qualifierId) |
private org.apache.hadoop.hbase.client.Table |
createTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName) |
private void |
put(org.apache.hadoop.hbase.client.Table table) |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testCompaction() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.client.Admin admin
private static final byte[] COLUMN
private static final int REGION_COUNT
private static final long ROW_COUNT
private static final int ROW_LENGTH
private static final int VALUE_LENGTH
public TestCompactionWithByteBuff()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testCompaction() throws Exception
Exception
private org.apache.hadoop.hbase.client.Table createTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
private void put(org.apache.hadoop.hbase.client.Table table) throws IOException
IOException
private byte[] buildValue(int index, int qualifierId)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.