DIRECTORY DBCommon USING[DBPage, Segment, TID], DBStorage USING[Selection, FirstLast, IndexHandle, IndexScanHandle], DBIndex USING[Page, RealIndexHandle]; DBIndexScan: CEDAR DEFINITIONS = { CreateNewRealIndexHandle: PROC [tid: DBCommon.TID]; GetOldRealIndexHandle: PROC [x: DBStorage.IndexHandle] RETURNS [DBIndex.RealIndexHandle]; DestroyIndexHandle: PROC [q: DBIndex.RealIndexHandle]; DeleteHandle: PUBLIC PROC [q: DBIndex.RealIndexHandle]; FinalizeIndexHandle: PROC [s: DBCommon.Segment]; InitScan: PROC; FreeScan: PROC [seg: DBCommon.Segment]; FreeScanHandle: PROC [s: DBStorage.IndexScanHandle]; CreateScanHandle: PROC [r: DBIndex.RealIndexHandle, y: DBStorage.Selection, start: DBStorage.FirstLast, page: DBCommon.DBPage, index: CARDINAL] RETURNS [DBStorage.IndexScanHandle]; ManipulateScanIndex: PROC[page: DBIndex.Page, after: CARDINAL, f: PROC[DBStorage.IndexScanHandle]]; PutScanIndex: PROC[r: DBIndex.RealIndexHandle, p: DBIndex.Page]; ScanForNullTree: PROC [q: DBIndex.RealIndexHandle]; }. Change Log Added PutScanIndex and ScanForNullTree Suzuki: November 24, 1980 11:01 AM Changed by Willie-Sue on February 15, 1985 .File: DBIndexScan.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Created by: Suzuki, November 20, 1980 10:29 AM Last edited by: Suzuki, November 24, 1980 11:01 AM Cattell, 7-Jul-81 10:18:39 Willie-Sue, February 15, 1985 3:40:24 pm PST Widom, September 4, 1985 9:19:33 pm PDT Donahue, May 22, 1986 1:20:31 pm PDT IndexHandle manipulation Creates a RealIndexHandle at the head of LRU queue, and set tid. Deallocates the IndexObject Scan handle operations Maintains the LIFO queue "r" was an empty tree, and just became to have one entry. "p" points to the first page. If there is a IndexScanHandle, change values. The tree pointed to by q because empty. Change all the IndexRealHandle so that if they point to this index, their page fields are Null made Cedar, added tioga formatting Κτ˜šœ™Jšœ Οmœ1™<—Jšœ0™0Jšœ™Jšœ#™#šœ™J™,J™'Icode™$—˜šΟk ˜ Jšœ žœžœ˜%Jšœ žœ5˜DJšœžœ˜%J˜——Jšœ žœž œ˜"˜Jšœ™J˜šΟnœžœžœ˜3Jšœ@™@J˜—šŸœžœ˜6Jšžœ˜"J˜—JšŸœžœ˜6J˜šŸ œžœžœ˜7Jšœ™J˜—JšŸœžœ˜0J˜J™J™JšŸœžœ˜J˜JšŸœžœ˜'J˜šŸœžœ ˜4Jšœ™J˜—šŸœžœpžœžœ˜΄J˜—JšŸœžœžœžœ˜cJ˜JšŸ œžœ.˜@JšœX™XJšœ-™-J˜JšŸœžœ˜3Jšœ‡™‡J˜—J˜J˜J˜J˜ J˜˜&Jšœ!ž˜#—J˜˜*J™"—˜J˜J˜——…—„ ¦