public class TestRemoteTable extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COLUMN_1 |
private static byte[] |
COLUMN_2 |
private static byte[] |
COLUMN_3 |
private static String |
INVALID_URL_CHARS_1 |
private static String |
INVALID_URL_CHARS_2 |
private static long |
ONE_HOUR |
private static byte[] |
QUALIFIER_1 |
private static byte[] |
QUALIFIER_2 |
private RemoteHTable |
remoteTable |
private static HBaseRESTTestingUtility |
REST_TEST_UTIL |
private static byte[] |
ROW_1 |
private static byte[] |
ROW_2 |
private static byte[] |
ROW_3 |
private static byte[] |
ROW_4 |
private static org.apache.hadoop.hbase.TableName |
TABLE |
private static HBaseTestingUtility |
TEST_UTIL |
private static long |
TS_1 |
private static long |
TS_2 |
private static String |
VALID_TABLE_NAME_CHARS |
private static byte[] |
VALUE_1 |
private static byte[] |
VALUE_2 |
Constructor and Description |
---|
TestRemoteTable() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testCheckAndDelete() |
void |
testDelete() |
void |
testGet() |
void |
testGetTableDescriptor() |
void |
testIteratorScaner()
Test RemoteHable.Scanner.iterator method
|
void |
testLongLivedScan()
Tests keeping a HBase scanner alive for long periods of time.
|
void |
testMultiGet() |
void |
testPut() |
void |
testResponse()
Test a some methods of class Response.
|
void |
testScanner()
Test RemoteHTable.Scanner
|
public static final HBaseClassTestRule CLASS_RULE
private static final String INVALID_URL_CHARS_1
private static final String INVALID_URL_CHARS_2
private static final String VALID_TABLE_NAME_CHARS
private static final org.apache.hadoop.hbase.TableName TABLE
private static final byte[] ROW_1
private static final byte[] ROW_2
private static final byte[] ROW_3
private static final byte[] ROW_4
private static final byte[] COLUMN_1
private static final byte[] COLUMN_2
private static final byte[] COLUMN_3
private static final byte[] QUALIFIER_1
private static final byte[] QUALIFIER_2
private static final byte[] VALUE_1
private static final byte[] VALUE_2
private static final long ONE_HOUR
private static final long TS_2
private static final long TS_1
private static final HBaseTestingUtility TEST_UTIL
private static final HBaseRESTTestingUtility REST_TEST_UTIL
private RemoteHTable remoteTable
public TestRemoteTable()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testGetTableDescriptor() throws IOException
IOException
public void testGet() throws IOException
IOException
public void testMultiGet() throws Exception
Exception
public void testPut() throws IOException
IOException
public void testDelete() throws IOException
IOException
public void testScanner() throws IOException
IOException
public void testCheckAndDelete() throws IOException
IOException
public void testIteratorScaner() throws IOException
IOException
public void testResponse()
public void testLongLivedScan() throws Exception
Exception
- if starting the servlet container or disabling or truncating the table failsCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.