Class MergeJoinResultSet

All Implemented Interfaces:
CursorResultSet, NoPutResultSet, ResultSet, RowLocationRetRowSource, RowSource

class MergeJoinResultSet extends JoinResultSet
Merge two result sets. The left result set (the outer result set) MUST be unique for this to work correctly.
  • Field Details

  • Constructor Details

    • MergeJoinResultSet

      MergeJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod leftGreaterThanRight, GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean notExistsRightSide, double optimizerEstimatedRowCount, double optimizerEstimatedCost)
      Create a MergeJoinResultSet
      Parameters:
      leftResultSet - the left (outer) result set
      leftNumCols - columns in left row
      rightResultSet - the right (outer) result set
      rightNumCols - columns in right row
      activation - activation
      leftGreaterThanRight - a generated method that is used to ascertain whether the row from the left result set is greater than the row from the right result set. returns 1,0,or -1 to indicate greater than, equal, or less than, respectively
      restriction - generated method for additional qualification
      resultSetNumber - the result set number
      oneRowRightSide - ignored
      optimizerEstimatedRowCount - self-explanatory
      optimizerEstimatedCost - self-explanatory
  • Method Details