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
-
Field Summary
Fields inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl.SequentialBuilder
check, outOfOrderKeyErrorMsg -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaccept(long firstKey, long lastKey) Provides a range to this consumer.voiddefault voidadd(SingleRange ix) voidadd(SortedRanges ix, boolean acquire) voidaddKey(long key) voidaddRange(long firstKey, long lastKey) default voidappendKey(long key) default voidappendRange(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:
appendKeyin interfaceTreeIndexImpl.SequentialBuilder
-
appendRange
default void appendRange(long firstKey, long lastKey) - Specified by:
appendRangein interfaceTreeIndexImpl.SequentialBuilder
-
add
-
add
-
add
-
accept
default void accept(long firstKey, long lastKey) Description copied from interface:LongRangeConsumerProvides 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:
acceptin interfaceLongRangeConsumer- Specified by:
acceptin interfaceTreeIndexImpl.SequentialBuilder- Parameters:
firstKey- the range first value.lastKey- the range last value.
-