public class TestResultFromCoprocessor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestResultFromCoprocessor.MyObserver |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static org.apache.hadoop.hbase.Cell |
FIXED_CELL |
private static org.apache.hadoop.hbase.client.Result |
FIXED_RESULT |
private static byte[] |
FIXED_VALUE |
private static byte[] |
QUAL |
private static byte[] |
ROW |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestResultFromCoprocessor() |
Modifier and Type | Method and Description |
---|---|
private static void |
assertRowAndValue(org.apache.hadoop.hbase.client.Result r,
byte[] row,
byte[] value) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testAppend() |
void |
testIncrement() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] ROW
private static final byte[] FAMILY
private static final byte[] QUAL
private static final byte[] VALUE
private static final byte[] FIXED_VALUE
private static final org.apache.hadoop.hbase.Cell FIXED_CELL
private static final org.apache.hadoop.hbase.client.Result FIXED_RESULT
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
public TestResultFromCoprocessor()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testAppend() throws IOException
IOException
public void testIncrement() throws IOException
IOException
private static void assertRowAndValue(org.apache.hadoop.hbase.client.Result r, byte[] row, byte[] value)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.