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 boolean
disposable
protected long
maxKeyHint
protected Container
pendingContainer
protected long
pendingContainerKey
protected long
pendingEnd
protected long
pendingStart
protected RspBitmap
rb
Fields 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 void
appendKey(long v)
void
appendRange(long start, long end)
void
appendTreeIndexImpl(long shiftAmount, TreeIndexImpl ix, boolean acquire)
protected void
flushPendingContainer()
protected void
flushPendingRange()
protected void
flushRangeToPendingContainer(long start, long end)
TreeIndexImpl
getTreeIndexImpl()
void
setDomain(long firstKeyUnused, long maxKey)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
setDomain
in interfaceTreeIndexImpl.SequentialBuilder
-
getTreeIndexImpl
- Specified by:
getTreeIndexImpl
in interfaceTreeIndexImpl.SequentialBuilder
-
appendKey
public void appendKey(long v)- Specified by:
appendKey
in interfaceTreeIndexImpl.SequentialBuilder
-
appendRange
public void appendRange(long start, long end)- Specified by:
appendRange
in interfaceTreeIndexImpl.SequentialBuilder
-
appendTreeIndexImpl
- Specified by:
appendTreeIndexImpl
in interfaceTreeIndexImpl.SequentialBuilder
-
flushPendingRange
protected void flushPendingRange() -
flushRangeToPendingContainer
protected void flushRangeToPendingContainer(long start, long end) -
flushPendingContainer
protected void flushPendingContainer()
-