Package com.illumon.iris.db.v2.utils
Interface TreeIndexImpl
- All Known Implementing Classes:
DisposableRspBitmap
,IntStartIntDeltaSingleRange
,IntStartLongDeltaSingleRange
,LongStartIntDeltaSingleRange
,LongStartLongEndSingleRange
,RspBitmap
,ShortStartShortDeltaSingleRange
,SingleIntSingleRange
,SingleLongSingleRange
,SingleRange
,SortedRanges
,SortedRangesInt
,SortedRangesLong
,SortedRangesPacked
,SortedRangesShort
,SortedRangesTyped
public interface TreeIndexImpl
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TreeIndexImpl.RandomBuilder
static interface
TreeIndexImpl.SequentialBuilder
-
Field Summary
Fields Modifier and Type Field Description static TreeIndexImpl
EMPTY
-
Method Summary
-
Field Details
-
Method Details
-
ixCowRef
TreeIndexImpl ixCowRef() -
ixRelease
void ixRelease() -
ixRefCount
-
ixInsert
-
ixInsertRange
-
ixInsert
@FinalDefault default TreeIndexImpl ixInsert(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length) -
ixInsertSecondHalf
TreeIndexImpl ixInsertSecondHalf(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length) -
ixInsert
-
ixAppendRange
-
ixRemove
-
ixRemoveRange
-
ixRemove
@FinalDefault default TreeIndexImpl ixRemove(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length) -
ixRemoveSecondHalf
TreeIndexImpl ixRemoveSecondHalf(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length) -
ixRemove
-
ixLastKey
long ixLastKey() -
ixFirstKey
long ixFirstKey() -
ixForEachLong
-
ixForEachLongRange
-
ixSubindexByPosOnNew
-
ixSubindexByKeyOnNew
-
ixGet
long ixGet(long pos) -
ixGetKeysForPositions
-
ixFind
long ixFind(long key) -
ixIterator
ReadOnlyIndex.Iterator ixIterator() -
ixSearchIterator
ReadOnlyIndex.SearchIterator ixSearchIterator() -
ixReverseIterator
ReadOnlyIndex.SearchIterator ixReverseIterator() -
ixRangeIterator
ReadOnlyIndex.RangeIterator ixRangeIterator() -
ixCardinality
long ixCardinality() -
ixIsEmpty
boolean ixIsEmpty() -
ixUpdate
-
ixRetain
-
ixRetainRange
-
ixIntersectOnNew
-
ixContainsRange
boolean ixContainsRange(long start, long end) -
ixOverlaps
-
ixOverlapsRange
boolean ixOverlapsRange(long start, long end) -
ixSubsetOf
-
ixMinusOnNew
-
ixUnionOnNew
-
ixShiftOnNew
-
ixShiftInPlace
-
ixInsertWithShift
-
ixGetOrderedKeysByPosition
-
ixGetOrderedKeysByKeyRange
-
ixGetOrderedKeysIterator
OrderedKeys.Iterator ixGetOrderedKeysIterator() -
ixRangesCountUpperBound
long ixRangesCountUpperBound() -
ixGetAverageRunLengthEstimate
long ixGetAverageRunLengthEstimate() -
ixToRspOnNew
RspBitmap ixToRspOnNew() -
ixInvertOnNew
Invert the given index.- Parameters:
keys
- Index of keys to invertmaximumPosition
- the largest position to add to indexBuilder, inclusive- Returns:
- the inverse of index
-
ixCompact
TreeIndexImpl ixCompact() -
ixValidate
-
ixValidate
default void ixValidate() -
fromChunk
static TreeIndexImpl fromChunk(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length, boolean disposable)- Parameters:
keys
- TheLongChunk
ofAttributes.OrderedKeyIndices
to build fromoffset
- The offset inkeys
to begin building fromlength
- The number of keys to include- Returns:
- A new
TreeIndexImpl
containing the specified slice ofkeys
-
twoRanges
-
asRspBitmap
-