public class TestRegionSplitCalculator extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestRegionSplitCalculator.SimpleRange
This is range uses a user specified start and end keys.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) Comparator<TestRegionSplitCalculator.SimpleRange> |
cmp |
private static org.slf4j.Logger |
LOG |
static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestRegionSplitCalculator() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
checkDepths(SortedSet<byte[]> splits,
org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],TestRegionSplitCalculator.SimpleRange> regions,
Integer... depths)
Check the "depth" (number of regions included at a split) of a generated
split calculation
|
(package private) String |
dump(SortedSet<byte[]> splits,
org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],TestRegionSplitCalculator.SimpleRange> regions)
This dumps data in a visually reasonable way for visual debugging.
|
void |
testBeginEndMarker() |
void |
testBigRanges() |
void |
testComplex() |
void |
testSplitCalculator() |
void |
testSplitCalculatorBackwards() |
void |
testSplitCalculatorCeil() |
void |
testSplitCalculatorCoverSplit() |
void |
testSplitCalculatorDegenerateEdge() |
void |
testSplitCalculatorEq() |
void |
testSplitCalculatorFloor() |
void |
testSplitCalculatorHoles() |
void |
testSplitCalculatorNoEdge() |
void |
testSplitCalculatorOverEndpoint() |
void |
testSplitCalculatorOverreach() |
void |
testSplitCalculatorSingleEdge() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public static final HBaseTestingUtility TEST_UTIL
public TestRegionSplitCalculator()
void checkDepths(SortedSet<byte[]> splits, org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],TestRegionSplitCalculator.SimpleRange> regions, Integer... depths)
String dump(SortedSet<byte[]> splits, org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],TestRegionSplitCalculator.SimpleRange> regions)
public void testSplitCalculator()
public void testSplitCalculatorNoEdge()
public void testSplitCalculatorSingleEdge()
public void testSplitCalculatorDegenerateEdge()
public void testSplitCalculatorCoverSplit()
public void testSplitCalculatorOverEndpoint()
public void testSplitCalculatorHoles()
public void testSplitCalculatorOverreach()
public void testSplitCalculatorFloor()
public void testSplitCalculatorCeil()
public void testSplitCalculatorEq()
public void testSplitCalculatorBackwards()
public void testComplex()
public void testBeginEndMarker()
public void testBigRanges()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.