public class TestCheckAndMutate extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
org.junit.rules.TestName |
name |
private static byte[] |
ROWKEY |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestCheckAndMutate() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.hbase.client.Table |
createTable() |
private org.apache.hadoop.hbase.client.RowMutations |
getBogusRowMutations() |
private void |
getOneRowAndAssertAllButCExist(org.apache.hadoop.hbase.client.Table table) |
private void |
getOneRowAndAssertAllExist(org.apache.hadoop.hbase.client.Table table) |
private org.apache.hadoop.hbase.client.RowMutations |
makeRowMutationsWithColumnCDeleted() |
private void |
putOneRow(org.apache.hadoop.hbase.client.Table table) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testCheckAndMutate() |
void |
testCheckAndMutateWithBuilder() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] ROWKEY
private static final byte[] FAMILY
public org.junit.rules.TestName name
public TestCheckAndMutate()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprivate org.apache.hadoop.hbase.client.Table createTable() throws IOException, InterruptedException
IOExceptionInterruptedExceptionprivate void putOneRow(org.apache.hadoop.hbase.client.Table table) throws IOException
IOExceptionprivate void getOneRowAndAssertAllExist(org.apache.hadoop.hbase.client.Table table) throws IOException
IOExceptionprivate void getOneRowAndAssertAllButCExist(org.apache.hadoop.hbase.client.Table table) throws IOException
IOExceptionprivate org.apache.hadoop.hbase.client.RowMutations makeRowMutationsWithColumnCDeleted() throws IOException
IOExceptionprivate org.apache.hadoop.hbase.client.RowMutations getBogusRowMutations() throws IOException
IOExceptionpublic void testCheckAndMutate() throws Throwable
Throwablepublic void testCheckAndMutateWithBuilder() throws Throwable
ThrowableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.