public class TestMinorCompaction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestMinorCompaction.MyCompactionPolicy |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COL1 |
private static byte[] |
COL2 |
private static int |
COMPACTION_THRESHOLD |
private static org.apache.hadoop.conf.Configuration |
CONF |
private static byte[] |
FIRST_ROW_BYTES |
private org.apache.hadoop.hbase.client.TableDescriptor |
htd |
org.junit.rules.TestName |
name |
private org.apache.hadoop.hbase.regionserver.HRegion |
r |
private static byte[] |
SECOND_ROW_BYTES |
private static byte[] |
THIRD_ROW_BYTES |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestMinorCompaction() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
private void |
testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete) |
private void |
testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete,
int expectedResultsAfterDelete) |
void |
testMinorCompactionWithDeleteColumn1() |
void |
testMinorCompactionWithDeleteColumn2() |
void |
testMinorCompactionWithDeleteColumnFamily() |
void |
testMinorCompactionWithDeleteRow() |
void |
testMinorCompactionWithDeleteVersion1() |
void |
testMinorCompactionWithDeleteVersion2() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final HBaseTestingUtility UTIL
private static org.apache.hadoop.conf.Configuration CONF
private org.apache.hadoop.hbase.regionserver.HRegion r
private org.apache.hadoop.hbase.client.TableDescriptor htd
private static int COMPACTION_THRESHOLD
private static byte[] FIRST_ROW_BYTES
private static byte[] SECOND_ROW_BYTES
private static byte[] THIRD_ROW_BYTES
private static byte[] COL1
private static byte[] COL2
public TestMinorCompaction()
public static void setUpBeforeClass()
public void testMinorCompactionWithDeleteRow() throws Exception
Exception
public void testMinorCompactionWithDeleteColumn1() throws Exception
Exception
public void testMinorCompactionWithDeleteColumn2() throws Exception
Exception
public void testMinorCompactionWithDeleteColumnFamily() throws Exception
Exception
public void testMinorCompactionWithDeleteVersion1() throws Exception
Exception
public void testMinorCompactionWithDeleteVersion2() throws Exception
Exception
private void testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete) throws Exception
Exception
private void testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete, int expectedResultsAfterDelete) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.