Interface IncrementalNaturalJoinStateManager

All Known Subinterfaces:
BothIncrementalNaturalJoinStateManager
All Known Implementing Classes:
IncrementalNaturalJoinStateManagerTypedBase, RightIncrementalNaturalJoinStateManager, RightIncrementalNaturalJoinStateManagerTypedBase

public interface IncrementalNaturalJoinStateManager
  • Method Details

    • getRightRowKey

      long getRightRowKey(int slot)
    • getRightRowSet

      RowSet getRightRowSet(int slot)
    • getLeftRowSet

      RowSet getLeftRowSet(int slot)
    • keyString

      String keyString(int slot)
    • checkExactMatch

      void checkExactMatch(long leftKeyIndex, long rightSide)
    • getRightRowKeyFromDuplicates

      default long getRightRowKeyFromDuplicates(WritableRowSet duplicates, NaturalJoinType joinType)
      Given the join type, return the correct row key from the set of RHS duplicates.
    • addRightRowKeyToDuplicates

      default long addRightRowKeyToDuplicates(WritableRowSet duplicates, long keyToRemove, NaturalJoinType joinType)
      Add a key to the RHS duplicates, return the appropriate row key from this set *AFTER* the addition.
    • removeRightRowKeyFromDuplicates

      default long removeRightRowKeyFromDuplicates(WritableRowSet duplicates, long keyToRemove, NaturalJoinType joinType)
      Remove the key from the RHS duplicates, return the appropriate row key from this set *BEFORE* the removal.
    • shiftOneKey

      default void shiftOneKey(WritableRowSet duplicates, long shiftedKey, long shiftDelta)
      Shift a key in the RHS duplicate row set.