public class TestSeekToBlockWithEncoders extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
(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
private final org.apache.hadoop.conf.Configuration conf
public TestSeekToBlockWithEncoders(boolean useOffheapData)
public static Collection<Object[]> parameters()
public void testSeekToBlockWithNonMatchingSeekKey() throws IOException
IOException
public void testSeekingToBlockWithBiggerNonLength1() throws IOException
IOException
public void testSeekingToBlockToANotAvailableKey() throws IOException
IOException
public void testSeekToBlockWithDecreasingCommonPrefix() throws IOException
IOException
public void testSeekToBlockWithDiffQualifer() throws IOException
IOException
public void testSeekToBlockWithDiffQualiferOnSameRow() throws IOException
IOException
public void testSeekToBlockWithDiffQualiferOnSameRow1() throws IOException
IOException
public void testSeekToBlockWithDiffQualiferOnSameRowButDescendingInSize() throws IOException
IOException
public void testSeekToBlockWithDiffFamilyAndQualifer() throws IOException
IOException
private void seekToTheKey(org.apache.hadoop.hbase.KeyValue expected, List<org.apache.hadoop.hbase.KeyValue> kvs, org.apache.hadoop.hbase.Cell toSeek) throws IOException
IOException
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)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.