public class TestMultiRowRangeFilter extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private byte[] |
family |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private int |
numRows |
private byte[] |
qf |
private org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
TEST_UTIL |
private byte[] |
value |
Constructor and Description |
---|
TestMultiRowRangeFilter() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.slf4j.Logger LOG
private byte[] family
private byte[] qf
private byte[] value
private org.apache.hadoop.hbase.TableName tableName
private int numRows
public org.junit.rules.TestName name
public TestMultiRowRangeFilter()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testRowKeyPrefixWithEmptyPrefix() throws IOException
IOException
public void testRowKeyPrefixWithLastIncrementablePrefix() throws IOException
IOException
public void testRowKeyPrefixWithoutLastIncrementablePrefix() throws IOException
IOException
public void testRowKeyPrefixWithMergablePrefix() throws IOException
IOException
public void testRanges() throws IOException
IOException
public void testOutOfOrderScannerNextException() throws Exception
Exception
public void testMergeAndSortWithEmptyStartRow() throws IOException
IOException
public void testMergeAndSortWithEmptyStopRow() throws IOException
IOException
public void testMergeAndSortWithEmptyStartRowAndStopRow() throws IOException
IOException
public void testMultiRowRangeWithoutRange() throws IOException
IOException
public void testMultiRowRangeWithInvalidRange() throws IOException
IOException
public void testMergeAndSortWithoutOverlap() throws IOException
IOException
public void testMergeAndSortWithOverlap() throws IOException
IOException
public void testMergeAndSortWithStartRowInclusive() throws IOException
IOException
public void testMergeAndSortWithRowExclusive() throws IOException
IOException
public void testMergeAndSortWithRowInclusive() throws IOException
IOException
public void assertRangesEqual(List<org.apache.hadoop.hbase.filter.MultiRowRangeFilter.RowRange> expected, List<org.apache.hadoop.hbase.filter.MultiRowRangeFilter.RowRange> actual)
public void testMultiRowRangeFilterWithRangeOverlap() throws IOException
IOException
public void testMultiRowRangeFilterWithoutRangeOverlap() throws IOException
IOException
public void testMultiRowRangeFilterWithEmptyStartRow() throws IOException
IOException
public void testMultiRowRangeFilterWithEmptyStopRow() throws IOException
IOException
public void testMultiRowRangeFilterWithInclusive() throws IOException
IOException
public void testMultiRowRangeFilterWithExclusive() throws IOException
IOException
public void testMultiRowRangeWithFilterListAndOperator() throws IOException
IOException
public void testMultiRowRangeWithFilterListOrOperator() throws IOException
IOException
public void testOneRowRange() throws IOException
IOException
public void testReverseMultiRowRangeFilterWithinTable() throws IOException
IOException
public void testReverseMultiRowRangeFilterIncludingMaxRow() throws IOException
IOException
public void testReverseMultiRowRangeFilterIncludingMinRow() throws IOException
IOException
public void testReverseMultiRowRangeFilterIncludingMinAndMaxRow() throws IOException
IOException
private void generateRows(int numberOfRows, org.apache.hadoop.hbase.client.Table ht, byte[] family, byte[] qf, byte[] value) throws IOException
IOException
private List<org.apache.hadoop.hbase.Cell> getScanResult(byte[] startRow, byte[] stopRow, org.apache.hadoop.hbase.client.Table ht) throws IOException
IOException
private List<org.apache.hadoop.hbase.Cell> getResults(org.apache.hadoop.hbase.client.Table ht, org.apache.hadoop.hbase.client.Scan scan) throws IOException
IOException
private int getResultsSize(org.apache.hadoop.hbase.client.Table ht, org.apache.hadoop.hbase.client.Scan scan) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.