public class TestRowIndexV1DataEncoder extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.hbase.io.encoding.DataBlockEncoding |
dataBlockEncoding |
private org.apache.hadoop.fs.FileSystem |
fs |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestRowIndexV1DataEncoder() |
| Modifier and Type | Method and Description |
|---|---|
private byte[] |
intToBytes(int i) |
void |
setUp() |
void |
testBlockCountWritten() |
private void |
writeDataToHFile(org.apache.hadoop.fs.Path hfilePath,
int entryCount) |
private void |
writeKeyValues(int entryCount,
org.apache.hadoop.hbase.io.hfile.HFile.Writer writer,
List<org.apache.hadoop.hbase.KeyValue> keyValues) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.fs.FileSystem fs
private org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding
public TestRowIndexV1DataEncoder()
public void setUp() throws IOException
IOExceptionpublic void testBlockCountWritten() throws IOException
IOExceptionprivate void writeDataToHFile(org.apache.hadoop.fs.Path hfilePath, int entryCount) throws IOException
IOExceptionprivate void writeKeyValues(int entryCount, org.apache.hadoop.hbase.io.hfile.HFile.Writer writer, List<org.apache.hadoop.hbase.KeyValue> keyValues) throws IOException
IOExceptionprivate byte[] intToBytes(int i)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.