public class TestRegionObserverForAddingMutationsFromCoprocessors extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteCellCoprocessor |
static class |
TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteFamilyCoprocessor |
static class |
TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteRowCoprocessor |
static class |
TestRegionObserverForAddingMutationsFromCoprocessors.TestMultiMutationCoprocessor |
static class |
TestRegionObserverForAddingMutationsFromCoprocessors.TestPutWithTTLCoprocessor |
static class |
TestRegionObserverForAddingMutationsFromCoprocessors.TestWALObserver |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
dummy |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static byte[] |
row1 |
private static byte[] |
row2 |
private static byte[] |
row3 |
private org.apache.hadoop.hbase.TableName |
tableName |
private static byte[] |
test |
private static HBaseTestingUtility |
util |
| Constructor and Description |
|---|
TestRegionObserverForAddingMutationsFromCoprocessors() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
assertRowCount(org.apache.hadoop.hbase.client.Table t,
int expected) |
private void |
createTable(String coprocessor) |
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testCPMutationsAreWrittenToWALEdit()
Tests that added mutations from coprocessors end up in the WAL.
|
void |
testDeleteCell() |
void |
testDeleteFamily() |
void |
testDeleteRow() |
void |
testMulti()
Test various multiput operations.
|
void |
testPutWithTTL() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static HBaseTestingUtility util
private static final byte[] dummy
private static final byte[] row1
private static final byte[] row2
private static final byte[] row3
private static final byte[] test
public org.junit.rules.TestName name
private org.apache.hadoop.hbase.TableName tableName
public TestRegionObserverForAddingMutationsFromCoprocessors()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprivate void createTable(String coprocessor) throws IOException
IOExceptionpublic void testMulti() throws Exception
Exceptionpublic void testCPMutationsAreWrittenToWALEdit() throws Exception
Exceptionprivate static void assertRowCount(org.apache.hadoop.hbase.client.Table t, int expected) throws IOException
IOExceptionpublic void testDeleteCell() throws Exception
Exceptionpublic void testDeleteFamily() throws Exception
Exceptionpublic void testDeleteRow() throws Exception
Exceptionpublic void testPutWithTTL() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.