public class TestHFileBlockIndex extends Object
| Constructor and Description |
|---|
TestHFileBlockIndex(Compression.Algorithm compr) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Object[]> |
compressionAlgorithms() |
void |
setUp() |
void |
testBlockIndex() |
void |
testBlockIndexChunk() |
void |
testHeapSizeForBlockIndex()
Checks if the HeapSize calculator is within reason
|
void |
testHFileWriterAndReader()
Testing block index through the HFile writer/reader APIs.
|
void |
testIntermediateLevelIndicesWithLargeKeys() |
void |
testIntermediateLevelIndicesWithLargeKeys(int minNumEntries) |
void |
testIntermediateLevelIndicesWithLargeKeysWithMinNumEntries() |
void |
testMidKeyOnLeafIndexBlockBoundary()
to check if looks good when midKey on a leaf index block boundary
|
void |
testSecondaryIndexBinarySearch() |
public TestHFileBlockIndex(Compression.Algorithm compr)
public static Collection<Object[]> compressionAlgorithms()
public void setUp()
throws IOException
IOExceptionpublic void testBlockIndex()
throws IOException
IOExceptionpublic void testSecondaryIndexBinarySearch()
throws IOException
IOExceptionpublic void testBlockIndexChunk()
throws IOException
IOExceptionpublic void testHeapSizeForBlockIndex()
throws IOException
IOExceptionpublic void testMidKeyOnLeafIndexBlockBoundary()
throws IOException
IOExceptionpublic void testHFileWriterAndReader()
throws IOException
IOExceptionpublic void testIntermediateLevelIndicesWithLargeKeys()
throws IOException
IOExceptionpublic void testIntermediateLevelIndicesWithLargeKeysWithMinNumEntries()
throws IOException
IOExceptionpublic void testIntermediateLevelIndicesWithLargeKeys(int minNumEntries)
throws IOException
IOException