Package org.apache.hadoop.hbase.client
Class TestAsyncTableBatch
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncTableBatch
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.AsyncConnectionprivate static intprivate static byte[]private static byte[]private static byte[]private static intprivate static byte[][]private static org.apache.hadoop.hbase.TableNameFunction<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.client.AsyncTable<?>> private static final HBaseTestingUtility -
Constructor Summary
Constructors -
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 voidsetUp()voidstatic voidtearDown()voidvoidtest()voidvoidvoidvoidvoidvoidvoidvoid
-
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:
IOExceptionInterruptedException
-
tearDownAfterTest
- Throws:
IOException
-
getRow
-
test
-
testWithRegionServerFailover
- Throws:
Exception
-
testMixed
-
testPartialSuccess
-
testPartialSuccessOnSameRegion
-
testInvalidPut
-
testInvalidPutInRowMutations
- Throws:
IOException
-
testInvalidPutInRowMutationsInCheckAndMutate
- Throws:
IOException
-
testWithCheckAndMutate
- Throws:
Exception
-