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 boolean
check
static String
outOfOrderKeyErrorMsg
-
Method Summary
Modifier and Type Method Description default void
accept(long firstKey, long lastKey)
Provides a range to this consumer.void
appendKey(long key)
void
appendRange(long firstKey, long lastKey)
default void
appendTreeIndexImpl(long shiftAmount, TreeIndexImpl ix, boolean acquire)
TreeIndexImpl
getTreeIndexImpl()
default void
setDomain(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: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
- Parameters:
firstKey
- the range first value.lastKey
- the range last value.
-