public class TestMobDataBlockEncoding extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static long |
defaultThreshold |
private static org.apache.hadoop.hbase.HTableDescriptor |
desc |
private static byte[] |
family |
private static org.apache.hadoop.hbase.HColumnDescriptor |
hcd |
private static byte[] |
qf1 |
private static byte[] |
qf2 |
protected byte[] |
qf3 |
private static byte[] |
row1 |
private static org.apache.hadoop.hbase.client.Table |
table |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestMobDataBlockEncoding() |
Modifier and Type | Method and Description |
---|---|
private static byte[] |
generateMobValue(int size)
Generate the mob value.
|
void |
setUp(long threshold,
String TN,
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testDataBlockEncoding() |
void |
testDataBlockEncoding(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] row1
private static final byte[] family
private static final byte[] qf1
private static final byte[] qf2
protected final byte[] qf3
private static org.apache.hadoop.hbase.client.Table table
private static org.apache.hadoop.hbase.client.Admin admin
private static org.apache.hadoop.hbase.HColumnDescriptor hcd
private static org.apache.hadoop.hbase.HTableDescriptor desc
private static long defaultThreshold
public TestMobDataBlockEncoding()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void setUp(long threshold, String TN, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding) throws Exception
Exception
private static byte[] generateMobValue(int size)
size
- the size of the valuepublic void testDataBlockEncoding() throws Exception
Exception
public void testDataBlockEncoding(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.