Package com.illumon.iris.db.v2
Class RightIncrementalChunkedAsOfJoinStateManager
java.lang.Object
com.illumon.iris.db.v2.RightIncrementalChunkedAsOfJoinStateManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
static final double
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
-
Method Summary
Modifier and TypeMethodDescriptionint
buildAdditions
(boolean isLeftSide, Index additions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) void
doRehash
(com.illumon.iris.db.v2.RightIncrementalChunkedAsOfJoinStateManager.BuildContext bc, LongArraySource addedSlots) int
gatherModifications
(Index restampAdditions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) int
gatherShiftIndex
(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) int
getRightIndex
(long slot) getRightSsa
(long slot) getRightSsa
(long slot, Function<Index, SegmentedSortedArray> ssaFactory) getRightSsaOrIndex
(long slot, org.apache.commons.lang3.mutable.MutableObject<Index> indexOutput) byte
getState
(long slot) int
int
markForRemoval
(Index restampRemovals, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) int
probeAdditions
(Index restampAdditions, ColumnSource<?>[] sources, LongArraySource slots, ObjectArraySource<Index.SequentialBuilder> sequentialBuilders) boolean
void
setLeftIndex
(long slot, Index index) void
setMaximumLoadFactor
(double maximumLoadFactor) void
setRightIndex
(long slot, Index index) void
setTargetLoadFactor
(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)
-