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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final boolean
protected long
protected Container
protected long
protected long
protected long
protected RspBitmap
Fields inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
check, outOfOrderKeyErrorMsg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendKey
(long v) void
appendRange
(long start, long end) void
appendTreeIndexImpl
(long shiftAmount, TreeIndexImpl ix, boolean acquire) protected void
protected void
protected void
flushRangeToPendingContainer
(long start, long end) 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()
-