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
Exception
public static void tearDownAfterClass() throws Exception
Exception
private void createTable(String coprocessor) throws IOException
IOException
public void testMulti() throws Exception
Exception
public void testCPMutationsAreWrittenToWALEdit() throws Exception
Exception
private static void assertRowCount(org.apache.hadoop.hbase.client.Table t, int expected) throws IOException
IOException
public void testDeleteCell() throws Exception
Exception
public void testDeleteFamily() throws Exception
Exception
public void testDeleteRow() throws Exception
Exception
public void testPutWithTTL() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.