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
IOExceptionprivate List<org.apache.hadoop.hbase.client.Result> assertAndCreateCompleteResults(List<org.apache.hadoop.hbase.client.Result> results) throws IOException
IOExceptionprivate void testScan(int start, boolean startInclusive, int stop, boolean stopInclusive, int limit) throws Exception
Exceptionprivate void testReversedScan(int start, boolean startInclusive, int stop, boolean stopInclusive, int limit) throws Exception
Exceptionpublic void testScanWithLimit() throws Exception
Exceptionpublic void testScanWithLimitGreaterThanActualCount() throws Exception
Exceptionpublic void testReversedScanWithLimit() throws Exception
Exceptionpublic void testReversedScanWithLimitGreaterThanActualCount() throws Exception
Exceptionpublic void testStartRowStopRowInclusive() throws Exception
Exceptionpublic void testReversedStartRowStopRowInclusive() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.