Module RR::TableScanHelper
In: lib/rubyrep/table_scan_helper.rb

Some helper functions that are of use to all TableScan classes

Methods

Public Class methods

Returns the correct class for the table scan based on the type of the session (proxied or direct).

Public Instance methods

Compares the primary keys of left_row and right_row to determine their rank. Assumes there is a function primary_key_names returning the array of primary keys that are relevant for this comparison

Assumes that at least one of left_row and right_row is not nil A nil row counts as infinite.

  1. g. left_row is something and right_row is nil ==> left_row is smaller ==> return -1

[Validate]