Package org.apache.hadoop.hbase.client
Class TestAsyncTableBatch
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncTableBatch
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.client.AsyncConnection
private static int
private static byte[]
private static byte[]
private static byte[]
private static int
private static byte[][]
private static org.apache.hadoop.hbase.TableName
Function<org.apache.hadoop.hbase.TableName,
org.apache.hadoop.hbase.client.AsyncTable<?>> private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.client.AsyncTable<?>
getRawTable
(org.apache.hadoop.hbase.TableName tableName) private byte[]
getRow
(int i) private static org.apache.hadoop.hbase.client.AsyncTable<?>
getTable
(org.apache.hadoop.hbase.TableName tableName) params()
static void
setUp()
void
static void
tearDown()
void
void
test()
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
TABLE_NAME
-
FAMILY
-
CQ
-
CQ1
-
COUNT
-
CONN
-
SPLIT_KEYS
-
MAX_KEY_VALUE_SIZE
-
tableType
-
tableGetter
public Function<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.client.AsyncTable<?>> tableGetter
-
-
Constructor Details
-
TestAsyncTableBatch
public TestAsyncTableBatch()
-
-
Method Details
-
getRawTable
private static org.apache.hadoop.hbase.client.AsyncTable<?> getRawTable(org.apache.hadoop.hbase.TableName tableName) -
getTable
private static org.apache.hadoop.hbase.client.AsyncTable<?> getTable(org.apache.hadoop.hbase.TableName tableName) -
params
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
setUpBeforeTest
- Throws:
IOException
InterruptedException
-
tearDownAfterTest
- Throws:
IOException
-
getRow
-
test
-
testWithRegionServerFailover
- Throws:
Exception
-
testMixed
-
testPartialSuccess
-
testPartialSuccessOnSameRegion
-
testInvalidPut
-
testInvalidPutInRowMutations
- Throws:
IOException
-
testInvalidPutInRowMutationsInCheckAndMutate
- Throws:
IOException
-
testWithCheckAndMutate
- Throws:
Exception
-