public class TestScannerCallable extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.client.ClusterConnection |
connection |
private static org.apache.hadoop.hbase.client.Scan |
DEFAULT_SCAN |
private static String |
HOSTNAME |
private org.apache.hadoop.hbase.HRegionLocation |
regionLocation |
private org.apache.hadoop.hbase.RegionLocations |
regionLocations |
private static byte[] |
ROW |
private org.apache.hadoop.hbase.ipc.RpcControllerFactory |
rpcFactory |
private static org.apache.hadoop.hbase.ServerName |
SERVERNAME |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
Constructor and Description |
---|
TestScannerCallable() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testHandleDisabledTable() |
void |
testPrepareAlwaysUsesCache() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final String HOSTNAME
private static final org.apache.hadoop.hbase.ServerName SERVERNAME
private static final byte[] ROW
private static final org.apache.hadoop.hbase.client.Scan DEFAULT_SCAN
@Mock private org.apache.hadoop.hbase.client.ClusterConnection connection
@Mock private org.apache.hadoop.hbase.ipc.RpcControllerFactory rpcFactory
@Mock private org.apache.hadoop.hbase.RegionLocations regionLocations
@Mock private org.apache.hadoop.hbase.HRegionLocation regionLocation
public TestScannerCallable()
public void testPrepareAlwaysUsesCache() throws Exception
Exception
public void testHandleDisabledTable() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.