public class TestHFileWriterV3 extends Object
HFile
.Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.fs.FileSystem |
fs |
private static org.slf4j.Logger |
LOG |
private static Random |
RNG |
private static HBaseTestingUtility |
TEST_UTIL |
private boolean |
useTags |
Constructor and Description |
---|
TestHFileWriterV3(boolean useTags) |
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
parameters() |
void |
setUp() |
void |
testHFileFormatV3() |
private void |
testHFileFormatV3Internals(boolean useTags) |
void |
testMidKeyInHFile() |
private void |
testMidKeyInHFileInternals(boolean useTags) |
private void |
writeDataAndReadFromHFile(org.apache.hadoop.fs.Path hfilePath,
org.apache.hadoop.hbase.io.compress.Compression.Algorithm compressAlgo,
int entryCount,
boolean findMidKey,
boolean useTags) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.fs.FileSystem fs
private boolean useTags
public TestHFileWriterV3(boolean useTags)
public static Collection<Object[]> parameters()
public void setUp() throws IOException
IOException
public void testHFileFormatV3() throws IOException
IOException
private void testHFileFormatV3Internals(boolean useTags) throws IOException
IOException
public void testMidKeyInHFile() throws IOException
IOException
private void testMidKeyInHFileInternals(boolean useTags) throws IOException
IOException
private void writeDataAndReadFromHFile(org.apache.hadoop.fs.Path hfilePath, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compressAlgo, int entryCount, boolean findMidKey, boolean useTags) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.