Package com.illumon.iris.db.v2.utils
Interface TreeIndexImpl.RandomBuilder
- All Superinterfaces:
LongRangeConsumer
,TreeIndexImpl.SequentialBuilder
- All Known Implementing Classes:
AbstractTreeIndexImplRandomBuilder
,AdaptiveBuilder
,MixedBuilder
,RspBitmap.RandomBuilder
,TreeIndexImplRandomBuilder
- Enclosing interface:
- TreeIndexImpl
public static interface TreeIndexImpl.RandomBuilder extends TreeIndexImpl.SequentialBuilder
-
Field Summary
Fields inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
check, outOfOrderKeyErrorMsg
-
Method Summary
Modifier and Type Method Description default void
accept(long firstKey, long lastKey)
Provides a range to this consumer.void
add(RspBitmap ix, boolean acquire)
default void
add(SingleRange ix)
void
add(SortedRanges ix, boolean acquire)
void
addKey(long key)
void
addRange(long firstKey, long lastKey)
default void
appendKey(long key)
default void
appendRange(long firstKey, long lastKey)
Methods inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
appendTreeIndexImpl, getTreeIndexImpl, setDomain
-
Method Details
-
addKey
void addKey(long key) -
addRange
void addRange(long firstKey, long lastKey) -
appendKey
default void appendKey(long key)- Specified by:
appendKey
in interfaceTreeIndexImpl.SequentialBuilder
-
appendRange
default void appendRange(long firstKey, long lastKey)- Specified by:
appendRange
in interfaceTreeIndexImpl.SequentialBuilder
-
add
-
add
-
add
-
accept
default void accept(long firstKey, long lastKey)Description copied from interface:LongRangeConsumer
Provides a range to this consumer. As consecutive calls to accept are made, delivered ranges are assumed to be non overlapping and increasing in their first value; in particular, the first of a range has to be strictly greater than the last of the previous range.- Specified by:
accept
in interfaceLongRangeConsumer
- Specified by:
accept
in interfaceTreeIndexImpl.SequentialBuilder
- Parameters:
firstKey
- the range first value.lastKey
- the range last value.
-