public class TestHFileWriterV2 extends Object
HFile. This is a low-level test written
during the development of HFileWriterV2.| Constructor and Description |
|---|
TestHFileWriterV2() |
| Modifier and Type | Method and Description |
|---|---|
static KeyValue |
randomKeyValue(Random rand) |
static byte[] |
randomOrderedKey(Random rand,
int i)
Generates a random key that is guaranteed to increase as the given index i
increases.
|
static char |
randomReadableChar(Random rand) |
static byte[] |
randomRowOrQualifier(Random rand) |
static byte[] |
randomValue(Random rand) |
void |
setUp() |
void |
testHFileFormatV2() |
void |
testMidKeyInHFile() |
public void setUp()
throws IOException
IOExceptionpublic void testHFileFormatV2()
throws IOException
IOExceptionpublic void testMidKeyInHFile()
throws IOException
IOExceptionpublic static byte[] randomOrderedKey(Random rand, int i)
rand - random number generator to usei - public static byte[] randomValue(Random rand)
public static final char randomReadableChar(Random rand)
public static byte[] randomRowOrQualifier(Random rand)