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
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testRowKeyPrefixWithEmptyPrefix() throws IOException
IOExceptionpublic void testRowKeyPrefixWithLastIncrementablePrefix() throws IOException
IOExceptionpublic void testRowKeyPrefixWithoutLastIncrementablePrefix() throws IOException
IOExceptionpublic void testRowKeyPrefixWithMergablePrefix() throws IOException
IOExceptionpublic void testRanges() throws IOException
IOExceptionpublic void testOutOfOrderScannerNextException() throws Exception
Exceptionpublic void testMergeAndSortWithEmptyStartRow() throws IOException
IOExceptionpublic void testMergeAndSortWithEmptyStopRow() throws IOException
IOExceptionpublic void testMergeAndSortWithEmptyStartRowAndStopRow() throws IOException
IOExceptionpublic void testMultiRowRangeWithoutRange() throws IOException
IOExceptionpublic void testMultiRowRangeWithInvalidRange() throws IOException
IOExceptionpublic void testMergeAndSortWithoutOverlap() throws IOException
IOExceptionpublic void testMergeAndSortWithOverlap() throws IOException
IOExceptionpublic void testMergeAndSortWithStartRowInclusive() throws IOException
IOExceptionpublic void testMergeAndSortWithRowExclusive() throws IOException
IOExceptionpublic void testMergeAndSortWithRowInclusive() throws IOException
IOExceptionpublic 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
IOExceptionpublic void testMultiRowRangeFilterWithoutRangeOverlap() throws IOException
IOExceptionpublic void testMultiRowRangeFilterWithEmptyStartRow() throws IOException
IOExceptionpublic void testMultiRowRangeFilterWithEmptyStopRow() throws IOException
IOExceptionpublic void testMultiRowRangeFilterWithInclusive() throws IOException
IOExceptionpublic void testMultiRowRangeFilterWithExclusive() throws IOException
IOExceptionpublic void testMultiRowRangeWithFilterListAndOperator() throws IOException
IOExceptionpublic void testMultiRowRangeWithFilterListOrOperator() throws IOException
IOExceptionpublic void testOneRowRange() throws IOException
IOExceptionpublic void testReverseMultiRowRangeFilterWithinTable() throws IOException
IOExceptionpublic void testReverseMultiRowRangeFilterIncludingMaxRow() throws IOException
IOExceptionpublic void testReverseMultiRowRangeFilterIncludingMinRow() throws IOException
IOExceptionpublic void testReverseMultiRowRangeFilterIncludingMinAndMaxRow() throws IOException
IOExceptionprivate void generateRows(int numberOfRows, org.apache.hadoop.hbase.client.Table ht, byte[] family, byte[] qf, byte[] value) throws IOException
IOExceptionprivate List<org.apache.hadoop.hbase.Cell> getScanResult(byte[] startRow, byte[] stopRow, org.apache.hadoop.hbase.client.Table ht) throws IOException
IOExceptionprivate List<org.apache.hadoop.hbase.Cell> getResults(org.apache.hadoop.hbase.client.Table ht, org.apache.hadoop.hbase.client.Scan scan) throws IOException
IOExceptionprivate int getResultsSize(org.apache.hadoop.hbase.client.Table ht, org.apache.hadoop.hbase.client.Scan scan) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.