Package com.illumon.iris.db.v2.utils
Class RspBitmapSequentialBuilder
java.lang.Object
com.illumon.iris.db.v2.utils.RspBitmapSequentialBuilder
- All Implemented Interfaces:
LongRangeConsumer,TreeIndexImpl.SequentialBuilder
- Direct Known Subclasses:
TreeIndexImplSequentialBuilder
public class RspBitmapSequentialBuilder extends Object implements TreeIndexImpl.SequentialBuilder
-
Field Summary
Fields Modifier and Type Field Description protected booleandisposableprotected longmaxKeyHintprotected ContainerpendingContainerprotected longpendingContainerKeyprotected longpendingEndprotected longpendingStartprotected RspBitmaprbFields inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
check, outOfOrderKeyErrorMsg -
Constructor Summary
Constructors Constructor Description RspBitmapSequentialBuilder()RspBitmapSequentialBuilder(boolean disposable) -
Method Summary
Modifier and Type Method Description voidappendKey(long v)voidappendRange(long start, long end)voidappendTreeIndexImpl(long shiftAmount, TreeIndexImpl ix, boolean acquire)protected voidflushPendingContainer()protected voidflushPendingRange()protected voidflushRangeToPendingContainer(long start, long end)TreeIndexImplgetTreeIndexImpl()voidsetDomain(long firstKeyUnused, long maxKey)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.SequentialBuilder
accept
-
Field Details
-
disposable
protected final boolean disposable -
pendingStart
protected long pendingStart -
pendingEnd
protected long pendingEnd -
pendingContainerKey
protected long pendingContainerKey -
pendingContainer
-
rb
-
maxKeyHint
protected long maxKeyHint
-
-
Constructor Details
-
RspBitmapSequentialBuilder
public RspBitmapSequentialBuilder() -
RspBitmapSequentialBuilder
public RspBitmapSequentialBuilder(boolean disposable)
-
-
Method Details
-
setDomain
public void setDomain(long firstKeyUnused, long maxKey)- Specified by:
setDomainin interfaceTreeIndexImpl.SequentialBuilder
-
getTreeIndexImpl
- Specified by:
getTreeIndexImplin interfaceTreeIndexImpl.SequentialBuilder
-
appendKey
public void appendKey(long v)- Specified by:
appendKeyin interfaceTreeIndexImpl.SequentialBuilder
-
appendRange
public void appendRange(long start, long end)- Specified by:
appendRangein interfaceTreeIndexImpl.SequentialBuilder
-
appendTreeIndexImpl
- Specified by:
appendTreeIndexImplin interfaceTreeIndexImpl.SequentialBuilder
-
flushPendingRange
protected void flushPendingRange() -
flushRangeToPendingContainer
protected void flushRangeToPendingContainer(long start, long end) -
flushPendingContainer
protected void flushPendingContainer()
-