public class TestStripeCompactor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestStripeCompactor.StoreFileWritersCapture |
Constructor and Description |
---|
TestStripeCompactor() |
Modifier and Type | Method and Description |
---|---|
void |
testBoundaryCompactionEmptyFiles() |
void |
testBoundaryCompactions() |
void |
testSizeCompactions() |
static void |
verifyBoundaryCompaction(KeyValue[] input,
byte[][] boundaries,
KeyValue[][] output) |
static void |
verifyBoundaryCompaction(KeyValue[] input,
byte[][] boundaries,
KeyValue[][] output,
byte[] majorFrom,
byte[] majorTo,
boolean allFiles) |
static void |
verifySizeCompaction(KeyValue[] input,
int targetCount,
long targetSize,
byte[] left,
byte[] right,
KeyValue[][] output) |
public void testBoundaryCompactionEmptyFiles() throws Exception
Exception
public static void verifyBoundaryCompaction(KeyValue[] input, byte[][] boundaries, KeyValue[][] output) throws Exception
Exception
public static void verifyBoundaryCompaction(KeyValue[] input, byte[][] boundaries, KeyValue[][] output, byte[] majorFrom, byte[] majorTo, boolean allFiles) throws Exception
Exception