Class TestSeekToBlockWithEncoders
java.lang.Object
org.apache.hadoop.hbase.io.encoding.TestSeekToBlockWithEncoders
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate final org.apache.hadoop.conf.Configuration(package private) static final byte[]private final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckSeekingConsistency(List<org.apache.hadoop.hbase.io.encoding.DataBlockEncoder.EncodedSeeker> encodedSeekers, org.apache.hadoop.hbase.Cell keyValue, org.apache.hadoop.hbase.KeyValue expected) static Collection<Object[]>private voidseekToTheKey(org.apache.hadoop.hbase.KeyValue expected, List<org.apache.hadoop.hbase.KeyValue> kvs, org.apache.hadoop.hbase.Cell toSeek) voidTest seeking while file is encoded.voidTest seeking while file is encoded.voidTest seeking while file is encoded.voidvoidvoidvoidvoidvoidTest seeking while file is encoded.
-
Field Details
-
CLASS_RULE
-
HFILEBLOCK_DUMMY_HEADER
-
useOffheapData
-
conf
-
-
Constructor Details
-
TestSeekToBlockWithEncoders
-
-
Method Details
-
parameters
-
testSeekToBlockWithNonMatchingSeekKey
Test seeking while file is encoded.- Throws:
IOException
-
testSeekingToBlockWithBiggerNonLength1
Test seeking while file is encoded.- Throws:
IOException
-
testSeekingToBlockToANotAvailableKey
Test seeking while file is encoded.- Throws:
IOException
-
testSeekToBlockWithDecreasingCommonPrefix
Test seeking while file is encoded.- Throws:
IOException
-
testSeekToBlockWithDiffQualifer
- Throws:
IOException
-
testSeekToBlockWithDiffQualiferOnSameRow
- Throws:
IOException
-
testSeekToBlockWithDiffQualiferOnSameRow1
- Throws:
IOException
-
testSeekToBlockWithDiffQualiferOnSameRowButDescendingInSize
- Throws:
IOException
-
testSeekToBlockWithDiffFamilyAndQualifer
- Throws:
IOException
-
seekToTheKey
private void seekToTheKey(org.apache.hadoop.hbase.KeyValue expected, List<org.apache.hadoop.hbase.KeyValue> kvs, org.apache.hadoop.hbase.Cell toSeek) throws IOException - Throws:
IOException
-
checkSeekingConsistency
private void checkSeekingConsistency(List<org.apache.hadoop.hbase.io.encoding.DataBlockEncoder.EncodedSeeker> encodedSeekers, org.apache.hadoop.hbase.Cell keyValue, org.apache.hadoop.hbase.KeyValue expected)
-