public class TestHFileDataBlockEncoder extends Object
Constructor and Description |
---|
TestHFileDataBlockEncoder(HFileDataBlockEncoder blockEncoder,
boolean includesMemstoreTS)
Create test for given data block encoding configuration.
|
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
getAllConfigurations() |
void |
testEncoding()
Test encoding.
|
void |
testEncodingWithCache()
Test putting and taking out blocks into cache with different
encoding options.
|
void |
testHeaderSizeInCacheWithoutChecksum()
Test for HBASE-5746.
|
public TestHFileDataBlockEncoder(HFileDataBlockEncoder blockEncoder, boolean includesMemstoreTS)
blockEncoder
- What kind of encoding policy will be used.public void testEncodingWithCache() throws IOException
IOException
public void testHeaderSizeInCacheWithoutChecksum() throws Exception
Exception
public void testEncoding() throws IOException
IOException
public static Collection<Object[]> getAllConfigurations()