Class HeapScanInfo
- All Implemented Interfaces:
ScanInfo
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
Performance counters ...private int
private int
private FormatableBitSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllScanInfo
(Properties prop) Return all information gathered about the scan.
-
Field Details
-
stat_numpages_visited
private int stat_numpages_visitedPerformance counters ... -
stat_numrows_visited
private int stat_numrows_visited -
stat_numrows_qualified
private int stat_numrows_qualified -
stat_numColumnsFetched
private int stat_numColumnsFetched -
stat_validColumns
-
-
Constructor Details
-
HeapScanInfo
HeapScanInfo(HeapScan scan)
-
-
Method Details
-
getAllScanInfo
Return all information gathered about the scan.This routine returns a list of properties which contains all information gathered about the scan. If a Property is passed in, then that property list is appeneded to, otherwise a new property object is created and returned.
Not all scans may support all properties, if the property is not supported then it will not be returned. The following is a list of properties that may be returned: numPagesVisited - the number of pages visited during the scan. For btree scans this number only includes the leaf pages visited. numRowsVisited - the number of rows visited during the scan. This number includes all rows, including: those marked deleted, those that don't meet qualification, ... numRowsQualified - the number of undeleted rows, which met the qualification. treeHeight (btree's only) - for btree's the height of the tree. A tree with one page has a height of 1. Total number of pages visited in a btree scan is (treeHeight - 1 + numPagesVisited). NOTE - this list will be expanded as more information about the scan is gathered and returned.
- Specified by:
getAllScanInfo
in interfaceScanInfo
- Parameters:
prop
- Property list to fill in.- Throws:
StandardException
- Standard exception policy.
-