public class TestDataBlockEncoders extends Object
| Constructor and Description | 
|---|
TestDataBlockEncoders(boolean includesMemstoreTS,
                     boolean includesTag)  | 
| 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 | 
testSeekingOnSample()
Test seeking while file is encoded. 
 | 
void | 
testZeroByte()  | 
public TestDataBlockEncoders(boolean includesMemstoreTS,
                             boolean includesTag)
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 testZeroByte()
                  throws IOException
IOException