public class AbstractTestSegSplitter extends TestCase2
src/architecture/SplitMath.xls
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractTestSegSplitter.MockPartitionIdFactory
Mock implementation assigns index partitions from a counter beginning
with ZERO (0), which is the first legal index partition identifier.
|
protected static class |
AbstractTestSegSplitter.RejectSplitsAfterKey
Accepts the recommended separator key unless it is GTE the key given to
the constructor, in which case it refuses to accept any splits.
|
TestCase2.MyProperties, TestCase2.RandomType
Modifier and Type | Field and Description |
---|---|
protected static ISimpleSplitHandler |
acceptAllSplits
Always accepts the recommended separator key.
|
protected IPartitionIdFactory |
pidFactory |
protected static ISimpleSplitHandler |
rejectAllSplits
Always returns
null (never accepts any splits). |
_randomType, log
Constructor and Description |
---|
AbstractTestSegSplitter() |
AbstractTestSegSplitter(String name) |
Modifier and Type | Method and Description |
---|---|
protected static IndexSegmentBuilder |
doBuild(String name,
ILocalBTreeView src,
long commitTime,
byte[] fromKey,
byte[] toKey)
Generate an
IndexSegment from the given BTree. |
protected IJournal |
getStore() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
protected IPartitionIdFactory pidFactory
protected static final ISimpleSplitHandler acceptAllSplits
protected static final ISimpleSplitHandler rejectAllSplits
null
(never accepts any splits).public AbstractTestSegSplitter()
public AbstractTestSegSplitter(String name)
name
- protected IJournal getStore() throws IOException
IOException
protected static IndexSegmentBuilder doBuild(String name, ILocalBTreeView src, long commitTime, byte[] fromKey, byte[] toKey) throws Exception
IndexSegment
from the given BTree.src
- The source BTree
.IndexSegmentBuilder
.Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.