Class TestSeekToBlockWithEncoders
java.lang.Object
org.apache.hadoop.hbase.io.encoding.TestSeekToBlockWithEncoders
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private final org.apache.hadoop.conf.Configuration
(package private) static final byte[]
private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkSeekingConsistency
(List<org.apache.hadoop.hbase.io.encoding.DataBlockEncoder.EncodedSeeker> encodedSeekers, org.apache.hadoop.hbase.ExtendedCell keyValue, org.apache.hadoop.hbase.KeyValue expected) static Collection<Object[]>
private void
seekToTheKey
(org.apache.hadoop.hbase.KeyValue expected, List<org.apache.hadoop.hbase.KeyValue> kvs, org.apache.hadoop.hbase.ExtendedCell toSeek) void
Test seeking while file is encoded.void
Test seeking while file is encoded.void
Test seeking while file is encoded.void
void
void
void
void
void
Test 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.ExtendedCell toSeek) throws IOException - Throws:
IOException
-
checkSeekingConsistency
private void checkSeekingConsistency(List<org.apache.hadoop.hbase.io.encoding.DataBlockEncoder.EncodedSeeker> encodedSeekers, org.apache.hadoop.hbase.ExtendedCell keyValue, org.apache.hadoop.hbase.KeyValue expected)
-