Package org.apache.hadoop.hbase.client
Class TestAsyncTableBatch
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncTableBatch
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAsyncTableBatch
extends Object
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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.TableNameprivate final Function<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.client.AsyncTable<?>> private static final HBaseTestingUtil -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncTableBatch(String tableType, Function<org.apache.hadoop.hbase.TableName, org.apache.hadoop.hbase.client.AsyncTable<?>> tableGetter) -
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) static Stream<org.junit.jupiter.params.provider.Arguments>static voidsetUp()voidstatic voidtearDown()voidvoidtest()voidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
TEST_UTIL
-
TABLE_NAME
-
FAMILY
-
CQ
-
CQ1
-
COUNT
-
CONN
-
SPLIT_KEYS
-
MAX_KEY_VALUE_SIZE
-
tableGetter
private final Function<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.client.AsyncTable<?>> tableGetter
-
-
Constructor Details
-
TestAsyncTableBatch
public TestAsyncTableBatch(String tableType, Function<org.apache.hadoop.hbase.TableName, org.apache.hadoop.hbase.client.AsyncTable<?>> tableGetter)
-
-
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) -
parameters
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
setUpBeforeTest
- Throws:
IOExceptionInterruptedException
-
tearDownAfterTest
- Throws:
IOException
-
getRow
-
test
@TestTemplate public void test() throws InterruptedException, ExecutionException, IOException, TimeoutException -
testWithRegionServerFailover
- Throws:
Exception
-
testMixed
-
testPartialSuccess
@TestTemplate public void testPartialSuccess() throws IOException, InterruptedException, ExecutionException -
testPartialSuccessOnSameRegion
@TestTemplate public void testPartialSuccessOnSameRegion() throws InterruptedException, ExecutionException -
testInvalidMutation
-
testInvalidMutationInRowMutations
- Throws:
IOException
-
testInvalidMutationInRowMutationsInCheckAndMutate
- Throws:
IOException
-
testWithCheckAndMutate
- Throws:
Exception
-