Class TestWALCellCodecWithCompression
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestWALCellCodecWithCompression
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.hbase.io.compress.Compression.Algorithm
-
Constructor Summary
ConstructorDescriptionTestWALCellCodecWithCompression
(org.apache.hadoop.hbase.io.compress.Compression.Algorithm algo) -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.KeyValue
createKV
(byte[] row, byte[] value, int noOfTags) private org.apache.hadoop.hbase.ByteBufferKeyValue
createOffheapKV
(byte[] row, byte[] value, int noOfTags) private void
doTest
(boolean compressTags, boolean offheapKV) (package private) static void
fillBytes
(byte[] buffer, byte[] fill) params()
void
void
void
void
void
-
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)
-