Class TestWALCellCodecWithCompression
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestWALCellCodecWithCompression
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestWALCellCodecWithCompression
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.hadoop.hbase.io.compress.Compression.Algorithm -
Constructor Summary
ConstructorsConstructorDescriptionTestWALCellCodecWithCompression(org.apache.hadoop.hbase.io.compress.Compression.Algorithm algo) -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.KeyValuecreateKV(byte[] row, byte[] value, int noOfTags) private org.apache.hadoop.hbase.ByteBufferKeyValuecreateOffheapKV(byte[] row, byte[] value, int noOfTags) private voiddoTest(boolean compressTags, boolean offheapKV) (package private) static voidfillBytes(byte[] buffer, byte[] fill) static Stream<org.junit.jupiter.params.provider.Arguments>voidvoidvoidvoidvoid
-
Field Details
-
compression
-
-
Constructor Details
-
TestWALCellCodecWithCompression
public TestWALCellCodecWithCompression(org.apache.hadoop.hbase.io.compress.Compression.Algorithm algo)
-
-
Method Details
-
parameters
-
testEncodeDecodeKVsWithTags
- Throws:
Exception
-
testEncodeDecodeKVsWithTagsWithTagsCompression
- Throws:
Exception
-
testEncodeDecodeOffKVsWithTagsWithTagsCompression
- Throws:
Exception
-
testValueCompressionEnabled
- Throws:
Exception
-
testValueCompression
- Throws:
Exception
-
fillBytes
-
doTest
- Throws:
Exception
-
createKV
-
createOffheapKV
private org.apache.hadoop.hbase.ByteBufferKeyValue createOffheapKV(byte[] row, byte[] value, int noOfTags)
-