Class TestWALCellCodecWithCompression
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestWALCellCodecWithCompression
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate 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) params()voidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
compression
-
-
Constructor Details
-
TestWALCellCodecWithCompression
public TestWALCellCodecWithCompression(org.apache.hadoop.hbase.io.compress.Compression.Algorithm algo)
-
-
Method Details
-
params
-
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)
-