Package com.illumon.iris.db.v2.utils
Class AbstractTreeIndexImplRandomBuilder
java.lang.Object
com.illumon.iris.db.v2.utils.AbstractTreeIndexImplRandomBuilder
- All Implemented Interfaces:
LongRangeConsumer,TreeIndexImpl.RandomBuilder,TreeIndexImpl.SequentialBuilder
- Direct Known Subclasses:
AdaptiveBuilder,TreeIndexImplRandomBuilder
public abstract class AbstractTreeIndexImplRandomBuilder extends Object implements TreeIndexImpl.RandomBuilder
-
Field Summary
Fields Modifier and Type Field Description protected static IndexCountsindexCountsprotected SortedRangespendingSrFields inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
check, outOfOrderKeyErrorMsg -
Constructor Summary
Constructors Constructor Description AbstractTreeIndexImplRandomBuilder() -
Method Summary
Modifier and Type Method Description voidadd(RspBitmap other, boolean acquire)voidadd(SortedRanges other, boolean acquire)voidaddIndex(Index idx)voidaddKey(long key)voidaddKeys(PrimitiveIterator.OfLong it)voidaddRange(long firstKey, long lastKey)voidaddRanges(LongRangeIterator it)protected booleanflushPendingRange()protected voidflushPendingSrToInnerBuilder()TreeIndexImplgetTreeIndexImpl()protected abstract TreeIndexImpl.RandomBuilderinnerBuilder()protected abstract voidsetInnerBuilderNull()protected abstract voidsetupInnerBuilderEmpty()protected abstract voidsetupInnerBuilderForRange(long start, long end)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.RandomBuilder
accept, add, appendKey, appendRangeMethods inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
appendTreeIndexImpl, setDomain
-
Field Details
-
Constructor Details
-
AbstractTreeIndexImplRandomBuilder
public AbstractTreeIndexImplRandomBuilder()
-
-
Method Details
-
innerBuilder
-
setupInnerBuilderForRange
protected abstract void setupInnerBuilderForRange(long start, long end) -
setupInnerBuilderEmpty
protected abstract void setupInnerBuilderEmpty() -
setInnerBuilderNull
protected abstract void setInnerBuilderNull() -
flushPendingRange
protected boolean flushPendingRange() -
flushPendingSrToInnerBuilder
protected void flushPendingSrToInnerBuilder() -
getTreeIndexImpl
- Specified by:
getTreeIndexImplin interfaceTreeIndexImpl.SequentialBuilder
-
addKey
public void addKey(long key)- Specified by:
addKeyin interfaceTreeIndexImpl.RandomBuilder
-
addKeys
-
addRange
public void addRange(long firstKey, long lastKey)- Specified by:
addRangein interfaceTreeIndexImpl.RandomBuilder
-
addRanges
-
addIndex
-
add
- Specified by:
addin interfaceTreeIndexImpl.RandomBuilder
-
add
- Specified by:
addin interfaceTreeIndexImpl.RandomBuilder
-