public class TestClientScanner extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestClientScanner.MockClientScanner |
static class |
TestClientScanner.MockRpcRetryingCallerFactory |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) org.apache.hadoop.hbase.client.ClusterConnection |
clusterConn |
(package private) org.apache.hadoop.conf.Configuration |
conf |
(package private) org.apache.hadoop.hbase.ipc.RpcControllerFactory |
controllerFactory |
org.junit.rules.TestName |
name |
(package private) ExecutorService |
pool |
(package private) org.apache.hadoop.hbase.client.RpcRetryingCallerFactory |
rpcFactory |
(package private) org.apache.hadoop.hbase.client.Scan |
scan |
Constructor and Description |
---|
TestClientScanner() |
Modifier and Type | Method and Description |
---|---|
void |
setup() |
void |
teardown() |
void |
testCacheLimit() |
void |
testExceptionsFromReplicasArePropagated()
Tests the case where all replicas of a region throw an exception.
|
void |
testMoreResults() |
void |
testNoMoreResults() |
void |
testNoResultsHint() |
void |
testSizeLimit() |
public static final HBaseClassTestRule CLASS_RULE
org.apache.hadoop.hbase.client.Scan scan
ExecutorService pool
org.apache.hadoop.conf.Configuration conf
org.apache.hadoop.hbase.client.ClusterConnection clusterConn
org.apache.hadoop.hbase.client.RpcRetryingCallerFactory rpcFactory
org.apache.hadoop.hbase.ipc.RpcControllerFactory controllerFactory
public org.junit.rules.TestName name
public TestClientScanner()
public void setup() throws IOException
IOException
public void teardown()
public void testNoResultsHint() throws IOException
IOException
public void testSizeLimit() throws IOException
IOException
public void testCacheLimit() throws IOException
IOException
public void testNoMoreResults() throws IOException
IOException
public void testMoreResults() throws IOException
IOException
public void testExceptionsFromReplicasArePropagated() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.