Package org.apache.hadoop.hbase.util
Class TestRegionSplitCalculator
java.lang.Object
org.apache.hadoop.hbase.util.TestRegionSplitCalculator
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
This is range uses a user specified start and end keys. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) Comparator<TestRegionSplitCalculator.SimpleRange>
private static final org.slf4j.Logger
static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(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
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
cmp
-
-
Constructor Details
-
TestRegionSplitCalculator
public TestRegionSplitCalculator()
-
-
Method Details
-
checkDepths
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 -
dump
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. It has the basic iteration structure. -
testSplitCalculator
-
testSplitCalculatorNoEdge
-
testSplitCalculatorSingleEdge
-
testSplitCalculatorDegenerateEdge
-
testSplitCalculatorCoverSplit
-
testSplitCalculatorOverEndpoint
-
testSplitCalculatorHoles
-
testSplitCalculatorOverreach
-
testSplitCalculatorFloor
-
testSplitCalculatorCeil
-
testSplitCalculatorEq
-
testSplitCalculatorBackwards
-
testComplex
-
testBeginEndMarker
-
testBigRanges
-