Class TestRemoteTable
java.lang.Object
org.apache.hadoop.hbase.rest.client.TestRemoteTable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final byte[]
private static final byte[]
private static final String
private static final String
private static final long
private static final byte[]
private static final byte[]
private RemoteHTable
private static final HBaseRESTTestingUtility
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
private static final long
private static final long
private static final String
private static final byte[]
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
after()
void
before()
static void
static void
void
void
void
testGet()
void
void
Test RemoteHable.Scanner.iterator methodvoid
Tests scanner with limitation limit the number of rows each scanner scan fetch at life time The number of rows returned should be equal to the limitvoid
Tests keeping a HBase scanner alive for long periods of time.void
void
testPut()
void
Test a some methods of class Response.void
Test RemoteHTable.Scanner
-
Field Details
-
CLASS_RULE
-
INVALID_URL_CHARS_1
- See Also:
-
INVALID_URL_CHARS_2
- See Also:
-
VALID_TABLE_NAME_CHARS
- See Also:
-
TABLE
-
ROW_1
-
ROW_2
-
ROW_3
-
ROW_4
-
COLUMN_1
-
COLUMN_2
-
COLUMN_3
-
QUALIFIER_1
-
QUALIFIER_2
-
VALUE_1
-
VALUE_2
-
ONE_HOUR
- See Also:
-
TS_2
-
TS_1
-
TEST_UTIL
-
REST_TEST_UTIL
-
remoteTable
-
-
Constructor Details
-
TestRemoteTable
public TestRemoteTable()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
before
- Throws:
Exception
-
after
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testGetTableDescriptor
- Throws:
IOException
-
testGet
- Throws:
IOException
-
testMultiGet
- Throws:
Exception
-
testPut
- Throws:
IOException
-
testDelete
- Throws:
IOException
-
testScanner
Test RemoteHTable.Scanner- Throws:
IOException
-
testCheckAndDelete
- Throws:
IOException
-
testIteratorScaner
Test RemoteHable.Scanner.iterator method- Throws:
IOException
-
testResponse
Test a some methods of class Response. -
testLimitedScan
Tests scanner with limitation limit the number of rows each scanner scan fetch at life time The number of rows returned should be equal to the limit- Throws:
Exception
-
testLongLivedScan
Tests keeping a HBase scanner alive for long periods of time. Each call to next() should reset the ConnectionCache timeout for the scanner's connection.- Throws:
Exception
- if starting the servlet container or disabling or truncating the table fails
-