Package com.illumon.iris.db.v2
Class RightIncrementalChunkedAsOfJoinStateManager
java.lang.Object
com.illumon.iris.db.v2.RightIncrementalChunkedAsOfJoinStateManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final doublestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byte -
Method Summary
Modifier and TypeMethodDescriptionintbuildAdditions(boolean isLeftSide, Index additions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) voiddoRehash(com.illumon.iris.db.v2.RightIncrementalChunkedAsOfJoinStateManager.BuildContext bc, LongArraySource addedSlots) intgatherModifications(Index restampAdditions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) intgatherShiftIndex(Index restampAdditions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) getLeftIndex(long slot) getLeftSsa(long slot) getLeftSsa(long slot, Function<Index, SegmentedSortedArray> ssaFactory) getLeftSsaOrIndex(long slot, org.apache.commons.lang3.mutable.MutableObject<Index> indexOutput) intgetRightIndex(long slot) getRightSsa(long slot) getRightSsa(long slot, Function<Index, SegmentedSortedArray> ssaFactory) getRightSsaOrIndex(long slot, org.apache.commons.lang3.mutable.MutableObject<Index> indexOutput) bytegetState(long slot) intintmarkForRemoval(Index restampRemovals, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) intprobeAdditions(Index restampAdditions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) booleanvoidsetLeftIndex(long slot, Index index) voidsetMaximumLoadFactor(double maximumLoadFactor) voidsetRightIndex(long slot, Index index) voidsetTargetLoadFactor(double targetLoadFactor)
-
Field Details
-
DEFAULT_MAX_LOAD_FACTOR
public static final double DEFAULT_MAX_LOAD_FACTOR- See Also:
-
DEFAULT_TARGET_LOAD_FACTOR
public static final double DEFAULT_TARGET_LOAD_FACTOR- See Also:
-
ENTRY_RIGHT_MASK
public static final byte ENTRY_RIGHT_MASK- See Also:
-
ENTRY_RIGHT_IS_EMPTY
public static final byte ENTRY_RIGHT_IS_EMPTY- See Also:
-
ENTRY_RIGHT_IS_BUILDER
public static final byte ENTRY_RIGHT_IS_BUILDER- See Also:
-
ENTRY_RIGHT_IS_SSA
public static final byte ENTRY_RIGHT_IS_SSA- See Also:
-
ENTRY_RIGHT_IS_INDEX
public static final byte ENTRY_RIGHT_IS_INDEX- See Also:
-
ENTRY_LEFT_MASK
public static final byte ENTRY_LEFT_MASK- See Also:
-
ENTRY_LEFT_IS_EMPTY
public static final byte ENTRY_LEFT_IS_EMPTY- See Also:
-
ENTRY_LEFT_IS_BUILDER
public static final byte ENTRY_LEFT_IS_BUILDER- See Also:
-
ENTRY_LEFT_IS_SSA
public static final byte ENTRY_LEFT_IS_SSA- See Also:
-
ENTRY_LEFT_IS_INDEX
public static final byte ENTRY_LEFT_IS_INDEX- See Also:
-
-
Method Details
-
buildAdditions
public int buildAdditions(boolean isLeftSide, Index additions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) -
doRehash
public void doRehash(com.illumon.iris.db.v2.RightIncrementalChunkedAsOfJoinStateManager.BuildContext bc, LongArraySource addedSlots) -
rehashRequired
public boolean rehashRequired() -
setTargetLoadFactor
public void setTargetLoadFactor(double targetLoadFactor) -
setMaximumLoadFactor
public void setMaximumLoadFactor(double maximumLoadFactor) -
markForRemoval
public int markForRemoval(Index restampRemovals, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) -
probeAdditions
public int probeAdditions(Index restampAdditions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) -
gatherShiftIndex
public int gatherShiftIndex(Index restampAdditions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) -
gatherModifications
public int gatherModifications(Index restampAdditions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) -
getTableSize
public int getTableSize() -
getOverflowSize
public int getOverflowSize() -
getState
public byte getState(long slot) -
getRightSsa
-
getRightSsa
-
getRightIndex
-
getLeftIndex
-
setLeftIndex
-
setRightIndex
-
getLeftSsa
-
getLeftSsa
-
getLeftSsaOrIndex
public SegmentedSortedArray getLeftSsaOrIndex(long slot, org.apache.commons.lang3.mutable.MutableObject<Index> indexOutput) -
getRightSsaOrIndex
public SegmentedSortedArray getRightSsaOrIndex(long slot, org.apache.commons.lang3.mutable.MutableObject<Index> indexOutput)
-