public class TestScannersFromClientSide2 extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
allowPartial |
boolean |
batch |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
CQ1 |
private static byte[] |
CQ2 |
private static byte[] |
FAMILY |
boolean |
smallResultSize |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestScannersFromClientSide2() |
Modifier and Type | Method and Description |
---|---|
private List<org.apache.hadoop.hbase.client.Result> |
assertAndCreateCompleteResults(List<org.apache.hadoop.hbase.client.Result> results) |
private void |
assertResultEquals(org.apache.hadoop.hbase.client.Result result,
int i) |
private org.apache.hadoop.hbase.client.Scan |
createScan() |
private List<org.apache.hadoop.hbase.client.Result> |
doScan(org.apache.hadoop.hbase.client.Scan scan) |
static List<Object[]> |
params() |
static void |
setUp() |
static void |
tearDown() |
private void |
testReversedScan(int start,
boolean startInclusive,
int stop,
boolean stopInclusive,
int limit) |
void |
testReversedScanWithLimit() |
void |
testReversedScanWithLimitGreaterThanActualCount() |
void |
testReversedStartRowStopRowInclusive() |
private void |
testScan(int start,
boolean startInclusive,
int stop,
boolean stopInclusive,
int limit) |
void |
testScanWithLimit() |
void |
testScanWithLimitGreaterThanActualCount() |
void |
testStartRowStopRowInclusive() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static byte[] FAMILY
private static byte[] CQ1
private static byte[] CQ2
public boolean batch
public boolean smallResultSize
public boolean allowPartial
public TestScannersFromClientSide2()
private org.apache.hadoop.hbase.client.Scan createScan()
private void assertResultEquals(org.apache.hadoop.hbase.client.Result result, int i)
private List<org.apache.hadoop.hbase.client.Result> doScan(org.apache.hadoop.hbase.client.Scan scan) throws IOException
IOException
private List<org.apache.hadoop.hbase.client.Result> assertAndCreateCompleteResults(List<org.apache.hadoop.hbase.client.Result> results) throws IOException
IOException
private void testScan(int start, boolean startInclusive, int stop, boolean stopInclusive, int limit) throws Exception
Exception
private void testReversedScan(int start, boolean startInclusive, int stop, boolean stopInclusive, int limit) throws Exception
Exception
public void testScanWithLimit() throws Exception
Exception
public void testScanWithLimitGreaterThanActualCount() throws Exception
Exception
public void testReversedScanWithLimit() throws Exception
Exception
public void testReversedScanWithLimitGreaterThanActualCount() throws Exception
Exception
public void testStartRowStopRowInclusive() throws Exception
Exception
public void testReversedStartRowStopRowInclusive() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.