Class SortedRanges
java.lang.Object
com.illumon.iris.db.v2.utils.RefCountedCow<SortedRanges>
com.illumon.iris.db.v2.utils.sortedranges.SortedRanges
- All Implemented Interfaces:
TreeIndexImpl
- Direct Known Subclasses:
SortedRangesTyped
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl
TreeIndexImpl.RandomBuilder, TreeIndexImpl.SequentialBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected intstatic final booleanstatic final intprotected static final intstatic final intprotected static final intstatic final intstatic final intprotected static final intstatic final intstatic final intprotected static final booleanprotected static final intstatic final intstatic final booleanFields inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final longabsPackedGet(int i) protected abstract longabsUnpackedGet(int i) final SortedRangesadd(long v) protected abstract SortedRangesaddInternal(long v, boolean writeCheck) protected static SortedRangesaddPacked(SortedRanges sar, long packedValue, long value, boolean writeCheck) protected static SortedRangesaddPackedWithStart(SortedRanges sar, int iStart, long packedValue, long value, org.apache.commons.lang3.mutable.MutableInt iStartOut, boolean writeCheck) final SortedRangesaddRange(long start, long end) protected abstract SortedRangesaddRangeInternal(long start, long end, boolean writeCheck) protected static SortedRangesaddRangePacked(SortedRanges sar, long packedStart, long packedEnd, long start, long end, boolean writeCheck) protected static SortedRangesaddRangePackedWithStart(SortedRanges sar, int iStart, long packedStart, long packedEnd, long start, long end, long deltaCard, org.apache.commons.lang3.mutable.MutableInt iStartOut, boolean writeCheck) final SortedRangesaddRangeUnsafe(long start, long end) final SortedRangesaddUnsafe(long v) final SortedRangesappend(long v) protected abstract SortedRangesappendInternal(long v, boolean writeCheck) protected static SortedRangesappendPacked(SortedRanges sar, long packedValue, long value, boolean writeCheck) final SortedRangesappendRange(long start, long end) protected abstract SortedRangesappendRangeInternal(long start, long end, boolean writeCheck) protected static SortedRangesappendRangePacked(SortedRanges sar, long packedStart, long packedEnd, long start, long end, boolean writeCheck) protected static SortedRangesappendRangeUnpacked(SortedRanges sar, long start, long end, boolean writeCheck) final SortedRangesappendRangeUnsafe(long start, long end) final SortedRangesappendUnsafe(long v) abstract SortedRangesapplyShift(long shift) abstract SortedRangesapplyShiftOnNew(long shift) static intarraySizeRoundingInt(int sizeToRound) static intarraySizeRoundingShort(int sizeToRound) abstract intabstract intprotected abstract SortedRangescheckSizeAndMoveData(int srcPos, int dstPos, int len, long first, boolean writeCheck) final voidclear()protected final voidclose(int pos) protected final voidclose2(int pos) final booleancontains(long v) final booleancontainsRange(long start, long end) protected abstract voidcopyData(int newCapacity) final intcount()protected abstract intprotected voidabstract SortedRangesdeepCopy()Get a deep copy of the current object, not shared with anybody.protected abstract SortedRangesensureCanAppend(int newLastPosition, long unpackedNewLastKey, boolean writeCheck) final longfind(long v) final longfirst()abstract booleanfits(long value) abstract booleanfits(long start, long end) abstract booleanfitsForAppend(long end) final booleanfinal booleanfinal longget(long targetPos) final longfinal longfinal ReadOnlyIndex.Iteratorfinal voidgetKeysForPositions(PrimitiveIterator.OfLong inputPositions, LongConsumer outputKeys) final OrderedKeysgetOrderedKeysByKeyRange(long start, long end) final OrderedKeysgetOrderedKeysByPosition(long pos, long length) final OrderedKeysgetOrderedKeysByPositionWithStart(long iStartPos, int istart, long startPosForOK, long lengthForOK) final OrderedKeys.Iteratorprotected abstract SortedRangesgrowOnNew(int capacity) final booleanfinal TreeIndexImplinsertImpl(SortedRanges other) final TreeIndexImplinsertImpl(SortedRanges other, boolean writeCheck) protected static intintArrayCapacityForLastIndex(int lastIndex, boolean isDense) final TreeIndexImplintersectOnNew(TreeIndexImpl toIntersect) final TreeIndexImplintersectOnNewImpl(TreeIndexImpl other) final booleaninvertOnNew(ReadOnlyIndex.RangeIterator rit, TreeIndexImplSequentialBuilder builder, long maxPosition) final TreeIndexImplinvertRangeOnNew(long start, long end, long maxPosition) abstract booleanisDense()static booleanisDenseInt(int[] data, int count) static booleanisDenseLong(long[] data, int count) protected static booleanisDenseLongSample(long v0, long v1, int count) static booleanisDenseShort(short[] data, int count) final booleanisEmpty()protected static booleanisIntAllocationSize(int length) protected static booleanisLongAllocationSize(int length) protected static booleanisShortAllocationSize(int length) final booleanisSparse()final TreeIndexImplixAppendRange(long startKey, long endKey) final longfinal TreeIndexImplfinal booleanixContainsRange(long start, long end) final SortedRangesixCowRef()final longixFind(long key) final longfinal booleanfinal booleanfinal longixGet(long pos) final longfinal voidixGetKeysForPositions(PrimitiveIterator.OfLong inputPositions, LongConsumer outputKeys) final OrderedKeysixGetOrderedKeysByKeyRange(long startKeyInclusive, long endKeyInclusive) final OrderedKeysixGetOrderedKeysByPosition(long startPositionInclusive, long length) final OrderedKeys.Iteratorfinal TreeIndexImplixInsert(long key) final TreeIndexImplixInsert(TreeIndexImpl added) final TreeIndexImplixInsertRange(long startKey, long endKey) final TreeIndexImplixInsertSecondHalf(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length) final TreeIndexImplixInsertWithShift(long shiftAmount, TreeIndexImpl other) final TreeIndexImplixIntersectOnNew(TreeIndexImpl toIntersect) final TreeIndexImplixInvertOnNew(TreeIndexImpl keys, long maxPosition) Invert the given index.final booleanfinal ReadOnlyIndex.Iteratorfinal longfinal TreeIndexImplixMinusOnNew(TreeIndexImpl other) final booleanixOverlaps(TreeIndexImpl impl) final booleanixOverlapsRange(long start, long end) final longfinal intfinal voidfinal TreeIndexImplixRemove(long key) final TreeIndexImplixRemove(TreeIndexImpl removed) final TreeIndexImplixRemoveRange(long startKey, long endKey) final TreeIndexImplixRemoveSecondHalf(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length) final TreeIndexImplixRetain(TreeIndexImpl toIntersect) final TreeIndexImplixRetainRange(long start, long end) final TreeIndexImplixShiftInPlace(long shiftAmount) final TreeIndexImplixShiftOnNew(long shiftAmount) final TreeIndexImplixSubindexByKeyOnNew(long startKey, long endKey) final TreeIndexImplixSubindexByPosOnNew(long startPos, long endPosExclusive) final booleanixSubsetOf(TreeIndexImpl other) final RspBitmapfinal TreeIndexImplixUnionOnNew(TreeIndexImpl other) final TreeIndexImplixUpdate(TreeIndexImpl added, TreeIndexImpl removed) final voidixValidate(String failMsg) final longlast()protected static intlongArrayCapacityForLastIndex(int lastIndex, boolean isDense) static SortedRangesstatic SortedRangesmakeForKnownRange(long first, long last, boolean isDense) protected abstract SortedRangesmakeMyTypeAndOffset(int initialCapacity) static SortedRangesmakeSingleElement(long v) static SortedRangesmakeSingleRange(long start, long end) final SortedRangesmergeAppend(SortedRanges other, boolean writeCheck) protected abstract voidmoveData(int srcPos, int dstPos, int len) protected voidfinal booleanoverlaps(ReadOnlyIndex.RangeIterator rangeIter) final booleanoverlapsRange(long start, long end) protected abstract longpack(long unpackedValue) protected abstract longpackedGet(int i) protected abstract voidpackedSet(int i, long packedValue) protected abstract intfinal SortedRangesremove(long v) final TreeIndexImplremove(TreeIndexImpl removed) protected abstract SortedRangesremoveInternal(long v) protected static SortedRangesremovePacked(SortedRanges sar, long packedValue, long value) final SortedRangesremoveRange(long start, long end) protected abstract SortedRangesremoveRangeInternal(long start, long end) protected static SortedRangesremoveRangePacked(SortedRanges sar, long packedStart, long packedEnd, long start, long end) protected static SortedRangesremoveRangePackedWithStart(SortedRanges sar, int iStart, long packedStart, long packedEnd, long start, long end, org.apache.commons.lang3.mutable.MutableInt iStartOut, boolean writeCheck) final SortedRangesretainRange(long start, long end) final SortedRangesself()Derived classes should implement self() by simply "return this" of the right type.protected static intshortArrayCapacityForLastIndex(int lastIndex) final SortedRangessubRangesByKey(long start, long end) final SortedRangessubRangesByPos(long startPosIn, long endPosIn) final booleansubsetOf(ReadOnlyIndex.RangeIterator ritOther) protected Stringfinal RspBitmaptoRsp()final StringtoString()final SortedRangestryCompact(int k) abstract SortedRangestryCompactUnsafe(int k) static SortedRangestryMakeForKnownRangeFinalCapacityLowerBound(int initialCapacity, int finalCapacityLowerBound, long first, long last, boolean isDense) static SortedRangestryMakeForKnownRangeKnownCount(int count, long first, long last) static SortedRangestryMakeForKnownRangeUnknownMaxCapacity(int initialCapacity, long first, long last, boolean isDense) protected abstract SortedRangestryPack()protected abstract SortedRangestryPackFor(long first, long last, int maxPos, boolean isDense) protected final SortedRangestryPackWithNewLast(long newLastKey, int maxPos, boolean isDense) static TreeIndexImplunionOnNew(SortedRanges sar, SortedRanges otherSar) static SortedRangesunionOnNewLegacy(SortedRanges sar, SortedRanges otherSar) protected abstract longunpack(long packedValue) protected abstract longunpackedGet(int i) protected abstract voidunpackedSet(int i, long unpackedValue) final voidvalidate()protected final voidvalidate(long iv1, long iv2) protected final voidMethods inherited from class com.illumon.iris.db.v2.utils.RefCountedCow
acquire, canWrite, cowRef, getWriteRef, notifyAfterRelease, notifyBeforeAcquire, refCount, releaseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.utils.TreeIndexImpl
ixInsert, ixRemove, ixValidate
-
Field Details
-
INITIAL_SIZE
protected static final int INITIAL_SIZE -
DEBUG
public static final boolean DEBUG -
LONG_DENSE_MAX_CAPACITY
public static final int LONG_DENSE_MAX_CAPACITY -
LONG_SPARSE_MAX_CAPACITY
public static final int LONG_SPARSE_MAX_CAPACITY -
INT_DENSE_MAX_CAPACITY
public static final int INT_DENSE_MAX_CAPACITY -
INT_SPARSE_MAX_CAPACITY
public static final int INT_SPARSE_MAX_CAPACITY -
SHORT_MAX_CAPACITY
public static final int SHORT_MAX_CAPACITY -
ELEMENTS_PER_BLOCK_DENSE_THRESHOLD
public static final int ELEMENTS_PER_BLOCK_DENSE_THRESHOLD -
MAX_CAPACITY
public static final int MAX_CAPACITY -
LONG_EXTENT
protected static final int LONG_EXTENT -
INT_EXTENT
protected static final int INT_EXTENT -
SHORT_EXTENT
protected static final int SHORT_EXTENT -
POOL_ARRAYS
protected static final boolean POOL_ARRAYS -
USE_RANGES_ARRAY
public static final boolean USE_RANGES_ARRAY -
cardinality
protected long cardinality -
count
protected int count
-
-
Constructor Details
-
SortedRanges
protected SortedRanges()
-
-
Method Details
-
deepCopy
Description copied from class:RefCountedCowGet a deep copy of the current object, not shared with anybody. Note this is not thread safe.- Specified by:
deepCopyin classRefCountedCow<SortedRanges>- Returns:
- A full, deep copy of this object with a reference count of 1 (not shared).
-
self
Description copied from class:RefCountedCowDerived classes should implement self() by simply "return this" of the right type. This method exists only as an implementation artifact for a type safe implementation of the curiously recurring generic pattern.- Specified by:
selfin classRefCountedCow<SortedRanges>- Returns:
- this object, with the right, most derived type.
-
arraySizeRoundingInt
public static int arraySizeRoundingInt(int sizeToRound) -
arraySizeRoundingShort
public static int arraySizeRoundingShort(int sizeToRound) -
makeSingleRange
-
makeSingleElement
-
makeEmpty
-
tryMakeForKnownRangeFinalCapacityLowerBound
public static SortedRanges tryMakeForKnownRangeFinalCapacityLowerBound(int initialCapacity, int finalCapacityLowerBound, long first, long last, boolean isDense) -
makeForKnownRange
-
tryMakeForKnownRangeUnknownMaxCapacity
public static SortedRanges tryMakeForKnownRangeUnknownMaxCapacity(int initialCapacity, long first, long last, boolean isDense) -
tryMakeForKnownRangeKnownCount
-
isEmpty
public final boolean isEmpty() -
clear
public final void clear() -
first
public final long first() -
last
public final long last() -
hasMoreThanOneRange
public final boolean hasMoreThanOneRange() -
validate
public final void validate() -
offsetToDebugString
-
toDebugString
-
dataToDebugString
-
toString
-
contains
public final boolean contains(long v) -
containsRange
public final boolean containsRange(long start, long end) -
find
public final long find(long v) -
get
public final long get(long targetPos) -
applyShift
-
applyShiftOnNew
-
add
-
addUnsafe
-
addRange
-
addRangeUnsafe
-
append
-
appendUnsafe
-
appendRange
-
appendRangeUnsafe
-
remove
-
removeRange
-
forEachLongRange
-
forEachLong
-
getIterator
-
getRangeIterator
-
getSearchIterator
-
getReverseIterator
-
getCardinality
public final long getCardinality() -
getKeysForPositions
public final void getKeysForPositions(PrimitiveIterator.OfLong inputPositions, LongConsumer outputKeys) -
subRangesByPos
-
subRangesByKey
-
overlapsRange
public final boolean overlapsRange(long start, long end) -
overlaps
-
retainRange
-
isDenseShort
public static boolean isDenseShort(short[] data, int count) -
isDenseLongSample
protected static boolean isDenseLongSample(long v0, long v1, int count) -
isDenseInt
public static boolean isDenseInt(int[] data, int count) -
isDenseLong
public static boolean isDenseLong(long[] data, int count) -
isDense
public abstract boolean isDense() -
isSparse
public final boolean isSparse() -
intersectOnNewImpl
-
count
public final int count() -
subsetOf
-
unionOnNew
-
unionOnNewLegacy
-
insertImpl
-
mergeAppend
-
insertImpl
-
invertRangeOnNew
-
invertOnNew
public final boolean invertOnNew(ReadOnlyIndex.RangeIterator rit, TreeIndexImplSequentialBuilder builder, long maxPosition) -
getOrderedKeysByPosition
-
getOrderedKeysByPositionWithStart
public final OrderedKeys getOrderedKeysByPositionWithStart(long iStartPos, int istart, long startPosForOK, long lengthForOK) -
getOrderedKeysByKeyRange
-
getOrderedKeysIterator
-
getAverageRunLengthEstimate
public final long getAverageRunLengthEstimate() -
shortArrayCapacityForLastIndex
protected static int shortArrayCapacityForLastIndex(int lastIndex) -
intArrayCapacityForLastIndex
protected static int intArrayCapacityForLastIndex(int lastIndex, boolean isDense) -
longArrayCapacityForLastIndex
protected static int longArrayCapacityForLastIndex(int lastIndex, boolean isDense) -
fits
public abstract boolean fits(long value) -
fits
public abstract boolean fits(long start, long end) -
fitsForAppend
public abstract boolean fitsForAppend(long end) -
makeMyTypeAndOffset
-
growOnNew
-
packedValuesPerCacheLine
protected abstract int packedValuesPerCacheLine() -
packedGet
protected abstract long packedGet(int i) -
absPackedGet
protected final long absPackedGet(int i) -
packedSet
protected abstract void packedSet(int i, long packedValue) -
pack
protected abstract long pack(long unpackedValue) -
unpackedGet
protected abstract long unpackedGet(int i) -
absUnpackedGet
protected abstract long absUnpackedGet(int i) -
unpackedSet
protected abstract void unpackedSet(int i, long unpackedValue) -
unpack
protected abstract long unpack(long packedValue) -
dataLength
protected abstract int dataLength() -
ensureCanAppend
protected abstract SortedRanges ensureCanAppend(int newLastPosition, long unpackedNewLastKey, boolean writeCheck) -
moveData
protected abstract void moveData(int srcPos, int dstPos, int len) -
copyData
protected abstract void copyData(int newCapacity) -
addInternal
-
addRangeInternal
-
appendInternal
-
appendRangeInternal
-
removeInternal
-
removeRangeInternal
-
tryPackFor
-
tryPackWithNewLast
-
tryPack
-
bytesAllocated
public abstract int bytesAllocated() -
bytesUsed
public abstract int bytesUsed() -
tryCompactUnsafe
- Parameters:
k- if k == 0, compact if count < capacity. k > 0, compact if (capacity - count > (capacity >> k).
-
tryCompact
-
isLongAllocationSize
protected static boolean isLongAllocationSize(int length) -
isIntAllocationSize
protected static boolean isIntAllocationSize(int length) -
isShortAllocationSize
protected static boolean isShortAllocationSize(int length) -
checkSizeAndMoveData
protected abstract SortedRanges checkSizeAndMoveData(int srcPos, int dstPos, int len, long first, boolean writeCheck) -
close
protected final void close(int pos) -
close2
protected final void close2(int pos) -
addPacked
protected static SortedRanges addPacked(SortedRanges sar, long packedValue, long value, boolean writeCheck) -
addPackedWithStart
protected static SortedRanges addPackedWithStart(SortedRanges sar, int iStart, long packedValue, long value, org.apache.commons.lang3.mutable.MutableInt iStartOut, boolean writeCheck) -
addRangePacked
protected static SortedRanges addRangePacked(SortedRanges sar, long packedStart, long packedEnd, long start, long end, boolean writeCheck) -
addRangePackedWithStart
protected static SortedRanges addRangePackedWithStart(SortedRanges sar, int iStart, long packedStart, long packedEnd, long start, long end, long deltaCard, org.apache.commons.lang3.mutable.MutableInt iStartOut, boolean writeCheck) -
appendPacked
protected static SortedRanges appendPacked(SortedRanges sar, long packedValue, long value, boolean writeCheck) -
appendRangeUnpacked
protected static SortedRanges appendRangeUnpacked(SortedRanges sar, long start, long end, boolean writeCheck) -
appendRangePacked
protected static SortedRanges appendRangePacked(SortedRanges sar, long packedStart, long packedEnd, long start, long end, boolean writeCheck) -
removePacked
-
removeRangePacked
protected static SortedRanges removeRangePacked(SortedRanges sar, long packedStart, long packedEnd, long start, long end) -
removeRangePackedWithStart
protected static SortedRanges removeRangePackedWithStart(SortedRanges sar, int iStart, long packedStart, long packedEnd, long start, long end, org.apache.commons.lang3.mutable.MutableInt iStartOut, boolean writeCheck) -
validate
protected final void validate(long iv1, long iv2) -
validate
-
ixCowRef
- Specified by:
ixCowRefin interfaceTreeIndexImpl
-
ixRelease
public final void ixRelease()- Specified by:
ixReleasein interfaceTreeIndexImpl
-
ixRefCount
public final int ixRefCount()- Specified by:
ixRefCountin interfaceTreeIndexImpl
-
ixInsert
- Specified by:
ixInsertin interfaceTreeIndexImpl
-
ixInsertRange
- Specified by:
ixInsertRangein interfaceTreeIndexImpl
-
ixInsertSecondHalf
public final TreeIndexImpl ixInsertSecondHalf(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length) - Specified by:
ixInsertSecondHalfin interfaceTreeIndexImpl
-
ixRemoveSecondHalf
public final TreeIndexImpl ixRemoveSecondHalf(LongChunk<Attributes.OrderedKeyIndices> keys, int offset, int length) - Specified by:
ixRemoveSecondHalfin interfaceTreeIndexImpl
-
ixAppendRange
- Specified by:
ixAppendRangein interfaceTreeIndexImpl
-
ixRemove
- Specified by:
ixRemovein interfaceTreeIndexImpl
-
ixLastKey
public final long ixLastKey()- Specified by:
ixLastKeyin interfaceTreeIndexImpl
-
ixFirstKey
public final long ixFirstKey()- Specified by:
ixFirstKeyin interfaceTreeIndexImpl
-
ixForEachLong
- Specified by:
ixForEachLongin interfaceTreeIndexImpl
-
ixForEachLongRange
- Specified by:
ixForEachLongRangein interfaceTreeIndexImpl
-
ixSubindexByPosOnNew
- Specified by:
ixSubindexByPosOnNewin interfaceTreeIndexImpl
-
ixSubindexByKeyOnNew
- Specified by:
ixSubindexByKeyOnNewin interfaceTreeIndexImpl
-
ixGet
public final long ixGet(long pos) - Specified by:
ixGetin interfaceTreeIndexImpl
-
ixGetKeysForPositions
public final void ixGetKeysForPositions(PrimitiveIterator.OfLong inputPositions, LongConsumer outputKeys) - Specified by:
ixGetKeysForPositionsin interfaceTreeIndexImpl
-
ixFind
public final long ixFind(long key) - Specified by:
ixFindin interfaceTreeIndexImpl
-
ixIterator
- Specified by:
ixIteratorin interfaceTreeIndexImpl
-
ixSearchIterator
- Specified by:
ixSearchIteratorin interfaceTreeIndexImpl
-
ixReverseIterator
- Specified by:
ixReverseIteratorin interfaceTreeIndexImpl
-
ixRangeIterator
- Specified by:
ixRangeIteratorin interfaceTreeIndexImpl
-
ixCardinality
public final long ixCardinality()- Specified by:
ixCardinalityin interfaceTreeIndexImpl
-
ixIsEmpty
public final boolean ixIsEmpty()- Specified by:
ixIsEmptyin interfaceTreeIndexImpl
-
ixUpdate
- Specified by:
ixUpdatein interfaceTreeIndexImpl
-
ixRemove
- Specified by:
ixRemovein interfaceTreeIndexImpl
-
remove
-
ixRemoveRange
- Specified by:
ixRemoveRangein interfaceTreeIndexImpl
-
ixRetain
- Specified by:
ixRetainin interfaceTreeIndexImpl
-
ixRetainRange
- Specified by:
ixRetainRangein interfaceTreeIndexImpl
-
ixIntersectOnNew
- Specified by:
ixIntersectOnNewin interfaceTreeIndexImpl
-
intersectOnNew
-
ixContainsRange
public final boolean ixContainsRange(long start, long end) - Specified by:
ixContainsRangein interfaceTreeIndexImpl
-
ixOverlaps
- Specified by:
ixOverlapsin interfaceTreeIndexImpl
-
ixOverlapsRange
public final boolean ixOverlapsRange(long start, long end) - Specified by:
ixOverlapsRangein interfaceTreeIndexImpl
-
ixSubsetOf
- Specified by:
ixSubsetOfin interfaceTreeIndexImpl
-
ixMinusOnNew
- Specified by:
ixMinusOnNewin interfaceTreeIndexImpl
-
ixUnionOnNew
- Specified by:
ixUnionOnNewin interfaceTreeIndexImpl
-
ixShiftOnNew
- Specified by:
ixShiftOnNewin interfaceTreeIndexImpl
-
ixShiftInPlace
- Specified by:
ixShiftInPlacein interfaceTreeIndexImpl
-
ixInsertWithShift
- Specified by:
ixInsertWithShiftin interfaceTreeIndexImpl
-
ixInsert
- Specified by:
ixInsertin interfaceTreeIndexImpl
-
ixGetOrderedKeysByPosition
- Specified by:
ixGetOrderedKeysByPositionin interfaceTreeIndexImpl
-
ixGetOrderedKeysByKeyRange
- Specified by:
ixGetOrderedKeysByKeyRangein interfaceTreeIndexImpl
-
ixGetOrderedKeysIterator
- Specified by:
ixGetOrderedKeysIteratorin interfaceTreeIndexImpl
-
ixRangesCountUpperBound
public final long ixRangesCountUpperBound()- Specified by:
ixRangesCountUpperBoundin interfaceTreeIndexImpl
-
ixGetAverageRunLengthEstimate
public final long ixGetAverageRunLengthEstimate()- Specified by:
ixGetAverageRunLengthEstimatein interfaceTreeIndexImpl
-
ixToRspOnNew
- Specified by:
ixToRspOnNewin interfaceTreeIndexImpl
-
toRsp
-
ixInvertOnNew
Description copied from interface:TreeIndexImplInvert the given index.- Specified by:
ixInvertOnNewin interfaceTreeIndexImpl- Parameters:
keys- Index of keys to invertmaxPosition- the largest position to add to indexBuilder, inclusive- Returns:
- the inverse of index
-
ixCompact
- Specified by:
ixCompactin interfaceTreeIndexImpl
-
ixValidate
- Specified by:
ixValidatein interfaceTreeIndexImpl
-