CQScanTableScanNew
DLL: sqlmin.dll
Class: CQScanTableScanNew
Section: Query Operators (?)
Description: The operator that is responsible for returning rows from a table when a table scan is performed. This maps to a “Table Scan” in an execution plan. It is used for parallel and non-parallel table scans.
Methods:
Constructor: (CExecContext*, CXteTableScan*)
CreateVal(CValRefOrdinal*)
CreateVal(CValRefRow*)
GetRow(ulong*, ulong*)
IRSIndex(void)
Open(ulong*)
Calls: GetRow uses CQScanRowsetNew::GetRowWithPrefetch to retrieve the data from the heap (table scans happen on heaps), ultimately HeapDataSetSession uses the HeapRowScanner & HeapRowObject to retrieve data from the actual pages.