Class TestPassCustomCellViaRegionObserver
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestPassCustomCellViaRegionObserver
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[]
static final HBaseClassTestRule
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private org.apache.hadoop.hbase.client.Table
private org.apache.hadoop.hbase.TableName
org.junit.rules.TestName
private static final HBaseTestingUtility
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
private static void
assertResult
(org.apache.hadoop.hbase.client.Result result, byte[] expectedValue) private static void
assertResult
(org.apache.hadoop.hbase.client.Result result, byte[] expectedValue, byte[] expectedFromCp) void
private static org.apache.hadoop.hbase.Cell
createCustomCell
(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.Cell.Type type, byte[] value) private static org.apache.hadoop.hbase.Cell
createCustomCell
(org.apache.hadoop.hbase.client.Append append) private static org.apache.hadoop.hbase.Cell
createCustomCell
(org.apache.hadoop.hbase.client.Delete delete) private static org.apache.hadoop.hbase.Cell
createCustomCell
(org.apache.hadoop.hbase.client.Increment inc) private static org.apache.hadoop.hbase.Cell
createCustomCell
(org.apache.hadoop.hbase.client.Put put) static void
static void
void
void
-
Field Details
-
CLASS_RULE
-
testName
-
tableName
-
table
-
UTIL
-
ROW
-
FAMILY
-
QUALIFIER
-
VALUE
-
APPEND_VALUE
-
QUALIFIER_FROM_CP
-
-
Constructor Details
-
TestPassCustomCellViaRegionObserver
public TestPassCustomCellViaRegionObserver()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
clearTable
- Throws:
IOException
-
testMutation
- Throws:
Exception
-
testMultiPut
- Throws:
Exception
-
assertObserverHasExecuted
-
assertResult
private static void assertResult(org.apache.hadoop.hbase.client.Result result, byte[] expectedValue) -
assertResult
private static void assertResult(org.apache.hadoop.hbase.client.Result result, byte[] expectedValue, byte[] expectedFromCp) -
createCustomCell
private static org.apache.hadoop.hbase.Cell createCustomCell(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.Cell.Type type, byte[] value) -
createCustomCell
private static org.apache.hadoop.hbase.Cell createCustomCell(org.apache.hadoop.hbase.client.Put put) -
createCustomCell
private static org.apache.hadoop.hbase.Cell createCustomCell(org.apache.hadoop.hbase.client.Append append) -
createCustomCell
private static org.apache.hadoop.hbase.Cell createCustomCell(org.apache.hadoop.hbase.client.Increment inc) -
createCustomCell
private static org.apache.hadoop.hbase.Cell createCustomCell(org.apache.hadoop.hbase.client.Delete delete)
-