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.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s