Package com.illumon.iris.db.v2.utils
Interface TreeIndexImpl.SequentialBuilder
- All Superinterfaces:
LongRangeConsumer
- All Known Subinterfaces:
TreeIndexImpl.RandomBuilder
- All Known Implementing Classes:
AbstractTreeIndexImplRandomBuilder,AdaptiveBuilder,MixedBuilder,RspBitmap.RandomBuilder,RspBitmapSequentialBuilder,TreeIndexImplRandomBuilder,TreeIndexImplSequentialBuilder
- Enclosing interface:
- TreeIndexImpl
public static interface TreeIndexImpl.SequentialBuilder extends LongRangeConsumer
-
Field Summary
Fields Modifier and Type Field Description static booleancheckstatic StringoutOfOrderKeyErrorMsg -
Method Summary
Modifier and Type Method Description default voidaccept(long firstKey, long lastKey)Provides a range to this consumer.voidappendKey(long key)voidappendRange(long firstKey, long lastKey)default voidappendTreeIndexImpl(long shiftAmount, TreeIndexImpl ix, boolean acquire)TreeIndexImplgetTreeIndexImpl()default voidsetDomain(long minKey, long maxKey)
-
Field Details
-
check
static final boolean check -
outOfOrderKeyErrorMsg
- See Also:
- Constant Field Values
-
-
Method Details
-
setDomain
default void setDomain(long minKey, long maxKey) -
getTreeIndexImpl
TreeIndexImpl getTreeIndexImpl() -
appendKey
void appendKey(long key) -
appendRange
void appendRange(long firstKey, long lastKey) -
appendTreeIndexImpl
-
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- Parameters:
firstKey- the range first value.lastKey- the range last value.
-