public class TestHFileBlockIndex extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestHFileBlockIndex(org.apache.hadoop.hbase.io.compress.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 static final HBaseClassTestRule CLASS_RULE
public TestHFileBlockIndex(org.apache.hadoop.hbase.io.compress.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
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.