Package io.deephaven.engine.table.impl
Class StaticNaturalJoinStateManager
java.lang.Object
io.deephaven.engine.table.impl.StaticNaturalJoinStateManager
- Direct Known Subclasses:
IncrementalNaturalJoinStateManagerTypedBase,RightIncrementalNaturalJoinStateManager,StaticHashedNaturalJoinStateManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanstatic final longThe right row key reported for a key that has several right rows.protected final NaturalJoinTypeprotected final ColumnSource<?>[]static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStaticNaturalJoinStateManager(ColumnSource<?>[] keySourcesForErrorMessages, NaturalJoinType joinType, boolean addOnly) -
Method Summary
Modifier and TypeMethodDescriptionbuildRowRedirection(QueryTable leftTable, LongUnaryOperator rightSideFromSlot, JoinControl.RedirectionType redirectionType) voidcheckExactMatch(long leftKeyIndex, long rightSide) protected abstract voiddecorateLeftSide(RowSet leftRowSet, ColumnSource<?>[] leftSources, LongArraySource leftRedirections) protected StringextractKeyStringFromSourceTable(long leftKey)
-
Field Details
-
DUPLICATE_RIGHT_VALUE
public static final long DUPLICATE_RIGHT_VALUEThe right row key reported for a key that has several right rows. The static state managers store this value as a slot's right state; the incremental state managers store a duplicate-location token instead and translate it to this value ingetRightRowKey. It coincides with the incremental tombstone state, so callers may only ask about slots that hold a live key.- See Also:
-
NO_RIGHT_ENTRY_VALUE
public static final long NO_RIGHT_ENTRY_VALUE- See Also:
-
keySourcesForErrorMessages
-
joinType
-
addOnly
protected final boolean addOnly
-
-
Constructor Details
-
StaticNaturalJoinStateManager
protected StaticNaturalJoinStateManager(ColumnSource<?>[] keySourcesForErrorMessages, NaturalJoinType joinType, boolean addOnly)
-
-
Method Details
-
checkExactMatch
public void checkExactMatch(long leftKeyIndex, long rightSide) -
extractKeyStringFromSourceTable
-
buildRowRedirection
public WritableRowRedirection buildRowRedirection(QueryTable leftTable, LongUnaryOperator rightSideFromSlot, JoinControl.RedirectionType redirectionType) -
decorateLeftSide
protected abstract void decorateLeftSide(RowSet leftRowSet, ColumnSource<?>[] leftSources, LongArraySource leftRedirections)
-