Class RightIncrementalHashedAsOfJoinStateManager
java.lang.Object
io.deephaven.engine.table.impl.RightIncrementalAsOfJoinStateManager
io.deephaven.engine.table.impl.asofjoin.RightIncrementalHashedAsOfJoinStateManager
- Direct Known Subclasses:
RightIncrementalAsOfJoinStateManagerTypedBase
public abstract class RightIncrementalHashedAsOfJoinStateManager
extends RightIncrementalAsOfJoinStateManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byteFields inherited from class io.deephaven.engine.table.impl.RightIncrementalAsOfJoinStateManager
keySourcesForErrorMessages -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRightIncrementalHashedAsOfJoinStateManager(ColumnSource<?>[] keySourcesForErrorMessages) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToSequentialBuilder(long slot, @NotNull ObjectArraySource<RowSetBuilderSequential> sequentialBuilders, long indexKey) abstract intbuildAdditions(boolean isLeftSide, RowSet additions, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) abstract intbuildFromLeftSide(RowSequence leftRowSet, ColumnSource<?>[] leftSources, @NotNull IntegerArraySource addedSlots) abstract intbuildFromRightSide(RowSequence rightRowSet, ColumnSource<?>[] rightSources, @NotNull IntegerArraySource addedSlots, int usedSlots) abstract intgatherModifications(RowSet restampAdditions, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) abstract intgatherShiftIndex(RowSet restampAdditions, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) abstract WritableRowSetgetAndClearLeftIndex(int slot) abstract WritableRowSetgetLeftIndex(int slot) abstract SegmentedSortedArraygetLeftSsa(int slot) abstract SegmentedSortedArraygetLeftSsa(int slot, Function<RowSet, SegmentedSortedArray> ssaFactory) abstract SegmentedSortedArraygetLeftSsaOrIndex(int slot, org.apache.commons.lang3.mutable.MutableObject<WritableRowSet> indexOutput) protected bytegetRightEntryType(byte entryType) abstract WritableRowSetgetRightIndex(int slot) abstract SegmentedSortedArraygetRightSsa(int slot) abstract SegmentedSortedArraygetRightSsa(int slot, Function<RowSet, SegmentedSortedArray> ssaFactory) abstract SegmentedSortedArraygetRightSsaOrIndex(int slot, org.apache.commons.lang3.mutable.MutableObject<WritableRowSet> indexOutput) abstract bytegetState(int slot) abstract intprotected byteleftEntryAsRightType(byte entryType) abstract intmarkForRemoval(RowSet restampRemovals, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) abstract intprobeAdditions(RowSet restampAdditions, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) abstract voidprobeRightInitial(RowSequence rightIndex, ColumnSource<?>[] rightSources) abstract voidsetLeftIndex(int slot, RowSet rowSet) abstract voidsetRightIndex(int slot, RowSet rowSet) Methods inherited from class io.deephaven.engine.table.impl.RightIncrementalAsOfJoinStateManager
extractKeyStringFromSourceTable
-
Field Details
-
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:
-
-
Constructor Details
-
RightIncrementalHashedAsOfJoinStateManager
-
-
Method Details
-
addToSequentialBuilder
protected void addToSequentialBuilder(long slot, @NotNull @NotNull ObjectArraySource<RowSetBuilderSequential> sequentialBuilders, long indexKey) -
leftEntryAsRightType
protected byte leftEntryAsRightType(byte entryType) -
getRightEntryType
protected byte getRightEntryType(byte entryType) -
buildFromLeftSide
public abstract int buildFromLeftSide(RowSequence leftRowSet, ColumnSource<?>[] leftSources, @NotNull @NotNull IntegerArraySource addedSlots) -
buildFromRightSide
public abstract int buildFromRightSide(RowSequence rightRowSet, ColumnSource<?>[] rightSources, @NotNull @NotNull IntegerArraySource addedSlots, int usedSlots) -
probeRightInitial
-
probeAdditions
public abstract int probeAdditions(RowSet restampAdditions, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) -
buildAdditions
public abstract int buildAdditions(boolean isLeftSide, RowSet additions, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) -
getRightSsa
-
getRightSsa
public abstract SegmentedSortedArray getRightSsa(int slot, Function<RowSet, SegmentedSortedArray> ssaFactory) -
getLeftSsa
-
getLeftSsa
public abstract SegmentedSortedArray getLeftSsa(int slot, Function<RowSet, SegmentedSortedArray> ssaFactory) -
getLeftSsaOrIndex
public abstract SegmentedSortedArray getLeftSsaOrIndex(int slot, org.apache.commons.lang3.mutable.MutableObject<WritableRowSet> indexOutput) -
getRightSsaOrIndex
public abstract SegmentedSortedArray getRightSsaOrIndex(int slot, org.apache.commons.lang3.mutable.MutableObject<WritableRowSet> indexOutput) -
setRightIndex
-
setLeftIndex
-
getLeftIndex
-
getRightIndex
-
getAndClearLeftIndex
-
markForRemoval
public abstract int markForRemoval(RowSet restampRemovals, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) -
gatherShiftIndex
public abstract int gatherShiftIndex(RowSet restampAdditions, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) -
gatherModifications
public abstract int gatherModifications(RowSet restampAdditions, ColumnSource<?>[] sources, IntegerArraySource slots, ObjectArraySource<RowSetBuilderSequential> sequentialBuilders) -
getState
public abstract byte getState(int slot) -
getTableSize
public abstract int getTableSize()
-