Package org.apache.hadoop.hbase.mob
Class TestMobDataBlockEncoding
java.lang.Object
org.apache.hadoop.hbase.mob.TestMobDataBlockEncoding
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
private static long
private static final byte[]
private static final byte[]
private static final byte[]
protected final byte[]
private static final byte[]
private static org.apache.hadoop.hbase.client.Table
private static org.apache.hadoop.hbase.client.TableDescriptor
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static byte[]
generateMobValue
(int size) Generate the mob value.void
static void
static void
void
void
testDataBlockEncoding
(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding)
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
row1
-
family
-
qf1
-
qf2
-
qf3
-
table
-
admin
-
columnFamilyDescriptor
-
tableDescriptor
-
defaultThreshold
-
-
Constructor Details
-
TestMobDataBlockEncoding
public TestMobDataBlockEncoding()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
public void setUp(long threshold, String TN, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding) throws Exception - Throws:
Exception
-
generateMobValue
Generate the mob value.- Parameters:
size
- the size of the value- Returns:
- the mob value generated
-
testDataBlockEncoding
- Throws:
Exception
-
testDataBlockEncoding
public void testDataBlockEncoding(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding) throws Exception - Throws:
Exception
-