Package com.illumon.iris.db.v2.utils.rsp
Class RspBitmap.RandomBuilder
java.lang.Object
com.illumon.iris.db.v2.utils.rsp.RspBitmap.RandomBuilder
- All Implemented Interfaces:
LongRangeConsumer
,TreeIndexImpl.RandomBuilder
,TreeIndexImpl.SequentialBuilder
- Enclosing class:
- RspBitmap
public static class RspBitmap.RandomBuilder extends Object implements TreeIndexImpl.RandomBuilder
-
Field Summary
Fields Modifier and Type Field Description IndexCounts
indexCounts
RspBitmap
rb
Fields inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
check, outOfOrderKeyErrorMsg
-
Constructor Summary
Constructors Constructor Description RandomBuilder(IndexCounts indexCounts)
RandomBuilder(IndexCounts indexCounts, long start, long end)
-
Method Summary
Modifier and Type Method Description void
add(RspBitmap ix, boolean acquire)
void
add(SortedRanges ix, boolean acquire)
void
addKey(long key)
void
addRange(long start, long endInclusive)
void
appendKey(long key)
void
appendRange(long start, long endInclusive)
RspBitmap
getTreeIndexImpl()
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.RandomBuilder
accept, add
Methods inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
appendTreeIndexImpl, setDomain
-
Field Details
-
Constructor Details
-
Method Details
-
getTreeIndexImpl
- Specified by:
getTreeIndexImpl
in interfaceTreeIndexImpl.SequentialBuilder
-
addKey
public void addKey(long key)- Specified by:
addKey
in interfaceTreeIndexImpl.RandomBuilder
-
addRange
public void addRange(long start, long endInclusive)- Specified by:
addRange
in interfaceTreeIndexImpl.RandomBuilder
-
appendKey
public void appendKey(long key)- Specified by:
appendKey
in interfaceTreeIndexImpl.RandomBuilder
- Specified by:
appendKey
in interfaceTreeIndexImpl.SequentialBuilder
-
appendRange
public void appendRange(long start, long endInclusive)- Specified by:
appendRange
in interfaceTreeIndexImpl.RandomBuilder
- Specified by:
appendRange
in interfaceTreeIndexImpl.SequentialBuilder
-
add
- Specified by:
add
in interfaceTreeIndexImpl.RandomBuilder
-
add
- Specified by:
add
in interfaceTreeIndexImpl.RandomBuilder
-