public class TestHFileBlockIndex
extends java.lang.Object
| Constructor and Description |
|---|
TestHFileBlockIndex(Compression.Algorithm compr) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<java.lang.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 java.util.Collection<java.lang.Object[]> compressionAlgorithms()
public void setUp()
throws java.io.IOException
java.io.IOExceptionpublic void testBlockIndex()
throws java.io.IOException
java.io.IOExceptionpublic void testSecondaryIndexBinarySearch()
throws java.io.IOException
java.io.IOExceptionpublic void testBlockIndexChunk()
throws java.io.IOException
java.io.IOExceptionpublic void testHeapSizeForBlockIndex()
throws java.io.IOException
java.io.IOExceptionpublic void testMidKeyOnLeafIndexBlockBoundary()
throws java.io.IOException
java.io.IOExceptionpublic void testHFileWriterAndReader()
throws java.io.IOException
java.io.IOExceptionpublic void testIntermediateLevelIndicesWithLargeKeys()
throws java.io.IOException
java.io.IOExceptionpublic void testIntermediateLevelIndicesWithLargeKeysWithMinNumEntries()
throws java.io.IOException
java.io.IOExceptionpublic void testIntermediateLevelIndicesWithLargeKeys(int minNumEntries)
throws java.io.IOException
java.io.IOException