lib/kwery/executor.rb
# sargs = search args
# see: Access Path Selection in a Relational Database Management System
sargs = search args
see: Access Path Selection in a Relational Database Management System
sargs = search args see : Access Path Selection in a Relational Database Management System
def call(context)
        context.schema
          .index_scan(@index_name, @sargs, @scan_order, context)
          .flat_map {|k,tids|
            tids.map { |tid|
              context.increment :index_tuples_fetched
              context.schema.fetch(@table_name, tid)
            }
          }
      end
def call ( context ) context . schema . index_scan ( @index_name , @sargs , @scan_order , context ) . flat_map { | k , tids | tids . map { | tid | context . increment :index_tuples_fetched context . schema . fetch ( @table_name , tid ) } } end
sargs = search args
see: Access Path Selection in a Relational Database Management System
sargs = search args see : Access Path Selection in a Relational Database Management System
context