public class TestDataBlockEncoders extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestDataBlockEncoders(boolean includesMemstoreTS,
boolean includesTag,
boolean useOffheapData) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Object[]> |
parameters() |
void |
testEmptyKeyValues()
Test data block encoding of empty KeyValue.
|
void |
testExecutionOnSample()
Test whether compression -> decompression gives the consistent results on
pseudorandom sample.
|
void |
testFirstKeyInBlockOnSample()
Test whether the decompression of first key is implemented correctly.
|
void |
testNegativeTimestamps()
Test KeyValues with negative timestamp.
|
void |
testNextOnSample() |
void |
testRowIndexWithTagsButNoTagsInCell() |
void |
testSeekingOnSample()
Test seeking while file is encoded.
|
void |
testZeroByte() |
public static final HBaseClassTestRule CLASS_RULE
public TestDataBlockEncoders(boolean includesMemstoreTS, boolean includesTag, boolean useOffheapData)
public static Collection<Object[]> parameters()
public void testEmptyKeyValues() throws IOException
IOException - On test failure.public void testNegativeTimestamps() throws IOException
IOException - On test failure.public void testExecutionOnSample() throws IOException
IOException - On test failure.public void testSeekingOnSample() throws IOException
IOExceptionpublic void testNextOnSample() throws IOException
IOExceptionpublic void testFirstKeyInBlockOnSample() throws IOException
IOExceptionpublic void testRowIndexWithTagsButNoTagsInCell() throws IOException
IOExceptionpublic void testZeroByte() throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.