public class TestDateTieredCompactor extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.KeyValue |
KV_A |
private static org.apache.hadoop.hbase.KeyValue |
KV_B |
private static org.apache.hadoop.hbase.KeyValue |
KV_C |
private static org.apache.hadoop.hbase.KeyValue |
KV_D |
private static byte[] |
NAME_OF_THINGS |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
boolean |
usePrivateReaders |
Constructor and Description |
---|
TestDateTieredCompactor() |
Modifier and Type | Method and Description |
---|---|
private static <T> T[] |
a(T... a) |
private org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor |
createCompactor(TestCompactor.StoreFileWritersCapture writers,
org.apache.hadoop.hbase.KeyValue[] input,
List<org.apache.hadoop.hbase.regionserver.HStoreFile> storefiles) |
static Iterable<Object[]> |
data() |
void |
test() |
void |
testEmptyOutputFile() |
private void |
verify(org.apache.hadoop.hbase.KeyValue[] input,
List<Long> boundaries,
org.apache.hadoop.hbase.KeyValue[][] output,
boolean allFiles) |
public static final HBaseClassTestRule CLASS_RULE
private static final byte[] NAME_OF_THINGS
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final org.apache.hadoop.hbase.KeyValue KV_A
private static final org.apache.hadoop.hbase.KeyValue KV_B
private static final org.apache.hadoop.hbase.KeyValue KV_C
private static final org.apache.hadoop.hbase.KeyValue KV_D
public boolean usePrivateReaders
public TestDateTieredCompactor()
private org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor createCompactor(TestCompactor.StoreFileWritersCapture writers, org.apache.hadoop.hbase.KeyValue[] input, List<org.apache.hadoop.hbase.regionserver.HStoreFile> storefiles) throws Exception
Exception
private void verify(org.apache.hadoop.hbase.KeyValue[] input, List<Long> boundaries, org.apache.hadoop.hbase.KeyValue[][] output, boolean allFiles) throws Exception
Exception
private static <T> T[] a(T... a)
public void testEmptyOutputFile() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.