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
Exception
public static void tearDownAfterClass() throws Exception
Exception
private org.apache.hadoop.hbase.client.Table createTable() throws IOException, InterruptedException
IOException
InterruptedException
private void putOneRow(org.apache.hadoop.hbase.client.Table table) throws IOException
IOException
private void getOneRowAndAssertAllExist(org.apache.hadoop.hbase.client.Table table) throws IOException
IOException
private void getOneRowAndAssertAllButCExist(org.apache.hadoop.hbase.client.Table table) throws IOException
IOException
private org.apache.hadoop.hbase.client.RowMutations makeRowMutationsWithColumnCDeleted() throws IOException
IOException
private org.apache.hadoop.hbase.client.RowMutations getBogusRowMutations() throws IOException
IOException
public void testCheckAndMutate() throws Throwable
Throwable
public void testCheckAndMutateWithBuilder() throws Throwable
Throwable
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.