Iterators
TableScan
- TableScan::TableScan: Note which table is
being scanned.
- TableScan::open: Open the table's file for reading,
set up a buffer for receiving file contents.
- TableScan::next: Make sure there is file
content to read for the next row. If there is data, read it and return a row.
Otherwise, return NULL indicating the entire table has been scanned.
- TableScan::close: Close the file,
deallocate the buffer.
|