Package org.apache.hadoop.hbase.mob
Class TestMobDataBlockEncoding
java.lang.Object
org.apache.hadoop.hbase.mob.TestMobDataBlockEncoding
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static longprivate static org.apache.hadoop.hbase.HTableDescriptorprivate static final byte[]private static org.apache.hadoop.hbase.HColumnDescriptorprivate static final byte[]private static final byte[]protected final byte[]private static final byte[]private static org.apache.hadoop.hbase.client.Tableprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static byte[]generateMobValue(int size) Generate the mob value.voidstatic voidstatic voidvoidvoidtestDataBlockEncoding(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding)
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
row1
-
family
-
qf1
-
qf2
-
qf3
-
table
-
admin
-
hcd
-
desc
-
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
-