public class TestHFileDataBlockEncoder extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| 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 |
testEncodingWithOffheapKeyValue()
Test encoding with offheap keyvalue.
|
void |
testHeaderSizeInCacheWithoutChecksum()
Test for HBASE-5746.
|
public static final HBaseClassTestRule CLASS_RULE
public TestHFileDataBlockEncoder(HFileDataBlockEncoder blockEncoder, boolean includesMemstoreTS)
blockEncoder - What kind of encoding policy will be used.public void testEncodingWithCache() throws IOException
IOExceptionpublic void testHeaderSizeInCacheWithoutChecksum() throws Exception
Exceptionpublic void testEncoding() throws IOException
IOExceptionpublic void testEncodingWithOffheapKeyValue() throws IOException
IOExceptionpublic static Collection<Object[]> getAllConfigurations()
Copyright © 2007–2019 Cloudera. All rights reserved.