public class TestSeekToBlockWithEncoders extends Object
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
(package private) static byte[] | 
HFILEBLOCK_DUMMY_HEADER  | 
private boolean | 
useOffheapData  | 
| Constructor and Description | 
|---|
TestSeekToBlockWithEncoders(boolean useOffheapData)  | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
static Collection<Object[]> | 
parameters()  | 
private void | 
seekToTheKey(org.apache.hadoop.hbase.KeyValue expected,
            List<org.apache.hadoop.hbase.KeyValue> kvs,
            org.apache.hadoop.hbase.Cell toSeek)  | 
void | 
testSeekingToBlockToANotAvailableKey()
Test seeking while file is encoded. 
 | 
void | 
testSeekingToBlockWithBiggerNonLength1()
Test seeking while file is encoded. 
 | 
void | 
testSeekToBlockWithDecreasingCommonPrefix()
Test seeking while file is encoded. 
 | 
void | 
testSeekToBlockWithDiffFamilyAndQualifer()  | 
void | 
testSeekToBlockWithDiffQualifer()  | 
void | 
testSeekToBlockWithDiffQualiferOnSameRow()  | 
void | 
testSeekToBlockWithDiffQualiferOnSameRow1()  | 
void | 
testSeekToBlockWithDiffQualiferOnSameRowButDescendingInSize()  | 
void | 
testSeekToBlockWithNonMatchingSeekKey()
Test seeking while file is encoded. 
 | 
public static final HBaseClassTestRule CLASS_RULE
static final byte[] HFILEBLOCK_DUMMY_HEADER
private final boolean useOffheapData
public TestSeekToBlockWithEncoders(boolean useOffheapData)
public static Collection<Object[]> parameters()
public void testSeekToBlockWithNonMatchingSeekKey() throws IOException
IOExceptionpublic void testSeekingToBlockWithBiggerNonLength1() throws IOException
IOExceptionpublic void testSeekingToBlockToANotAvailableKey() throws IOException
IOExceptionpublic void testSeekToBlockWithDecreasingCommonPrefix() throws IOException
IOExceptionpublic void testSeekToBlockWithDiffQualifer() throws IOException
IOExceptionpublic void testSeekToBlockWithDiffQualiferOnSameRow() throws IOException
IOExceptionpublic void testSeekToBlockWithDiffQualiferOnSameRow1() throws IOException
IOExceptionpublic void testSeekToBlockWithDiffQualiferOnSameRowButDescendingInSize() throws IOException
IOExceptionpublic void testSeekToBlockWithDiffFamilyAndQualifer() throws IOException
IOExceptionprivate void seekToTheKey(org.apache.hadoop.hbase.KeyValue expected, List<org.apache.hadoop.hbase.KeyValue> kvs, org.apache.hadoop.hbase.Cell toSeek) throws IOException
IOExceptionprivate void checkSeekingConsistency(List<org.apache.hadoop.hbase.io.encoding.DataBlockEncoder.EncodedSeeker> encodedSeekers, org.apache.hadoop.hbase.Cell keyValue, org.apache.hadoop.hbase.KeyValue expected)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.