Class NestedLoopJoinResultSet

    • Field Detail

      • returnedRowMatchingRightSide

        private boolean returnedRowMatchingRightSide
      • rightTemplate

        private ExecRow rightTemplate
    • Constructor Detail

      • NestedLoopJoinResultSet

        NestedLoopJoinResultSet​(NoPutResultSet leftResultSet,
                                int leftNumCols,
                                NoPutResultSet rightResultSet,
                                int rightNumCols,
                                Activation activation,
                                GeneratedMethod restriction,
                                int resultSetNumber,
                                boolean oneRowRightSide,
                                boolean notExistsRightSide,
                                double optimizerEstimatedRowCount,
                                double optimizerEstimatedCost,
                                java.lang.String userSuppliedOptimizerOverrides)
    • Method Detail

      • clearScanState

        void clearScanState()
        Clear any private state that changes during scans. This includes things like the last row seen, etc. THis does not include immutable things that are typically set up in the constructor.

        This method is called on open()/close() and reopen()

        WARNING: this should be implemented in every sub class and it should always call super.clearScanState().

        Overrides:
        clearScanState in class JoinResultSet
      • getTimeSpent

        public long getTimeSpent​(int type)
        Return the total amount of time spent in this ResultSet
        Parameters:
        type - CURRENT_RESULTSET_ONLY - time spent only in this ResultSet ENTIRE_RESULTSET_TREE - time spent in this ResultSet and below.
        Returns:
        long The total amount of time spent (in milliseconds).