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 byte[] |
ROWKEY2 |
private static byte[] |
ROWKEY3 |
private static byte[] |
ROWKEY4 |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestCheckAndMutate() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] ROWKEY
private static final byte[] ROWKEY2
private static final byte[] ROWKEY3
private static final byte[] ROWKEY4
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
@Deprecated public void testCheckAndMutateForOldApi() throws Throwable
Throwable
@Deprecated public void testCheckAndMutateWithSingleFilterForOldApi() throws Throwable
Throwable
@Deprecated public void testCheckAndMutateWithMultipleFiltersForOldApi() throws Throwable
Throwable
@Deprecated public void testCheckAndMutateWithTimestampFilterForOldApi() throws Throwable
Throwable
@Deprecated public void testCheckAndMutateWithFilterAndTimeRangeForOldApi() throws Throwable
Throwable
@Deprecated public void testCheckAndMutateWithoutConditionForOldApi() throws Throwable
Throwable
public void testCheckAndMutate() throws Throwable
Throwable
public void testCheckAndMutateWithSingleFilter() throws Throwable
Throwable
public void testCheckAndMutateWithMultipleFilters() throws Throwable
Throwable
public void testCheckAndMutateWithTimestampFilter() throws Throwable
Throwable
public void testCheckAndMutateWithFilterAndTimeRange() throws Throwable
Throwable
public void testCheckAndMutateBuilderWithoutCondition()
public void testCheckAndIncrement() throws Throwable
Throwable
public void testCheckAndAppend() throws Throwable
Throwable
public void testCheckAndRowMutations() throws Throwable
Throwable
public void testCheckAndMutateBatch() throws Throwable
Throwable
public void testCheckAndMutateBatch2() throws Throwable
Throwable
public void testCheckAndMutateBatchWithFilter() throws Throwable
Throwable
public void testCheckAndMutateBatchWithFilterAndTimeRange() throws Throwable
Throwable
public void testCheckAndIncrementBatch() throws Throwable
Throwable
public void testCheckAndAppendBatch() throws Throwable
Throwable
public void testCheckAndRowMutationsBatch() throws Throwable
Throwable
public void testCheckAndMutateForNull() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.