Class TIndexPage

Unit

Declaration

type TIndexPage = class(TObject)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected FIndexFile: TIndexFile;
Protected FLowerPage: TIndexPage;
Protected FUpperPage: TIndexPage;
Protected FPageBuffer: Pointer;
Protected FEntry: Pointer;
Protected FEntryNo: Integer;
Protected FLockCount: Integer;
Protected FModified: Boolean;
Protected FPageNo: Integer;
Protected FWeight: Integer;
Protected FLowBracket: Integer;
Protected FLowIndex: Integer;
Protected FLowPage: Integer;
Protected FLowPageTemp: Integer;
Protected FHighBracket: Integer;
Protected FHighIndex: Integer;
Protected FHighPage: Integer;
Protected FHighPageTemp: Integer;

Methods

Protected procedure LocalInsert(RecNo: Integer; Buffer: PChar; LowerPageNo: Integer);
Protected procedure LocalDelete;
Protected procedure Delete;
Protected procedure SyncLowerPage;
Protected procedure WritePage;
Protected procedure Split;
Protected procedure LockPage;
Protected procedure UnlockPage;
Protected function RecurPrev: Boolean;
Protected function RecurNext: Boolean;
Protected procedure RecurFirst;
Protected procedure RecurLast;
Protected procedure SetEntry(RecNo: Integer; AKey: PChar; LowerPageNo: Integer);
Protected procedure SetEntryNo(value: Integer);
Protected procedure SetPageNo(NewPageNo: Integer);
Protected procedure SetLowPage(NewPage: Integer);
Protected procedure SetHighPage(NewPage: Integer);
Protected procedure SetUpperPage(NewPage: TIndexPage);
Protected procedure UpdateBounds(IsInnerNode: Boolean);
Protected function GetEntry(AEntryNo: Integer): Pointer; virtual; abstract;
Protected function GetLowerPageNo: Integer; virtual; abstract;
Protected function GetKeyData: PChar; virtual; abstract;
Protected function GetNumEntries: Integer; virtual; abstract;
Protected function GetKeyDataFromEntry(AEntry: Integer): PChar; virtual; abstract;
Protected function GetRecNo: Integer; virtual; abstract;
Protected function GetIsInnerNode: Boolean; virtual; abstract;
Protected procedure IncNumEntries; virtual; abstract;
Protected procedure SetNumEntries(NewNum: Integer); virtual; abstract;
Protected procedure SetRecLowerPageNo(NewRecNo, NewPageNo: Integer); virtual; abstract;
Protected procedure SetRecLowerPageNoOfEntry(AEntry, NewRecNo, NewPageNo: Integer); virtual; abstract;
Public constructor Create(Parent: TIndexFile);
Public destructor Destroy; override;
Public function FindNearest(ARecNo: Integer): Integer;
Public function PhysicalRecNo: Integer;
Public function MatchKey: Integer;
Public procedure GotoInsertEntry;
Public procedure Clear;
Public procedure GetNewPage;
Public procedure Modified;
Public procedure RecalcWeight;
Public procedure UpdateWeight;
Public procedure Flush;
Public procedure SaveBracket;
Public procedure RestoreBracket;

Properties

Public property Key: PChar read GetKeyData;
Public property Entry: Pointer read FEntry;
Public property EntryNo: Integer read FEntryNo write SetEntryNo;
Public property IndexFile: TIndexFile read FIndexFile;
Public property UpperPage: TIndexPage read FUpperPage write SetUpperPage;
Public property LowerPage: TIndexPage read FLowerPage;
Public property PageBuffer: Pointer read FPageBuffer;
Public property PageNo: Integer read FPageNo write SetPageNo;
Public property Weight: Integer read FWeight;
Public property NumEntries: Integer read GetNumEntries;
Public property HighBracket: Integer read FHighBracket write FHighBracket;
Public property HighIndex: Integer read FHighIndex;
Public property HighPage: Integer read FHighPage write SetHighPage;
Public property LowBracket: Integer read FLowBracket write FLowBracket;
Public property LowIndex: Integer read FLowIndex;
Public property LowPage: Integer read FLowPage write SetLowPage;

Description

Fields

Protected FIndexFile: TIndexFile;

This item has no description.

Protected FLowerPage: TIndexPage;

This item has no description.

Protected FUpperPage: TIndexPage;

This item has no description.

Protected FPageBuffer: Pointer;

This item has no description.

Protected FEntry: Pointer;

This item has no description.

Protected FEntryNo: Integer;

This item has no description.

Protected FLockCount: Integer;

This item has no description.

Protected FModified: Boolean;

This item has no description.

Protected FPageNo: Integer;

This item has no description.

Protected FWeight: Integer;

This item has no description.

Protected FLowBracket: Integer;

This item has no description.

Protected FLowIndex: Integer;

This item has no description.

Protected FLowPage: Integer;

This item has no description.

Protected FLowPageTemp: Integer;

This item has no description.

Protected FHighBracket: Integer;

This item has no description.

Protected FHighIndex: Integer;

This item has no description.

Protected FHighPage: Integer;

This item has no description.

Protected FHighPageTemp: Integer;

This item has no description.

Methods

Protected procedure LocalInsert(RecNo: Integer; Buffer: PChar; LowerPageNo: Integer);

This item has no description.

Protected procedure LocalDelete;

This item has no description.

Protected procedure Delete;

This item has no description.

Protected procedure SyncLowerPage;

This item has no description.

Protected procedure WritePage;

This item has no description.

Protected procedure Split;

This item has no description.

Protected procedure LockPage;

This item has no description.

Protected procedure UnlockPage;

This item has no description.

Protected function RecurPrev: Boolean;

This item has no description.

Protected function RecurNext: Boolean;

This item has no description.

Protected procedure RecurFirst;

This item has no description.

Protected procedure RecurLast;

This item has no description.

Protected procedure SetEntry(RecNo: Integer; AKey: PChar; LowerPageNo: Integer);

This item has no description.

Protected procedure SetEntryNo(value: Integer);

This item has no description.

Protected procedure SetPageNo(NewPageNo: Integer);

This item has no description.

Protected procedure SetLowPage(NewPage: Integer);

This item has no description.

Protected procedure SetHighPage(NewPage: Integer);

This item has no description.

Protected procedure SetUpperPage(NewPage: TIndexPage);

This item has no description.

Protected procedure UpdateBounds(IsInnerNode: Boolean);

This item has no description.

Protected function GetEntry(AEntryNo: Integer): Pointer; virtual; abstract;

This item has no description.

Protected function GetLowerPageNo: Integer; virtual; abstract;

This item has no description.

Protected function GetKeyData: PChar; virtual; abstract;

This item has no description.

Protected function GetNumEntries: Integer; virtual; abstract;

This item has no description.

Protected function GetKeyDataFromEntry(AEntry: Integer): PChar; virtual; abstract;

This item has no description.

Protected function GetRecNo: Integer; virtual; abstract;

This item has no description.

Protected function GetIsInnerNode: Boolean; virtual; abstract;

This item has no description.

Protected procedure IncNumEntries; virtual; abstract;

This item has no description.

Protected procedure SetNumEntries(NewNum: Integer); virtual; abstract;

This item has no description.

Protected procedure SetRecLowerPageNo(NewRecNo, NewPageNo: Integer); virtual; abstract;

This item has no description.

Protected procedure SetRecLowerPageNoOfEntry(AEntry, NewRecNo, NewPageNo: Integer); virtual; abstract;

This item has no description.

Public constructor Create(Parent: TIndexFile);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function FindNearest(ARecNo: Integer): Integer;

This item has no description.

Public function PhysicalRecNo: Integer;

This item has no description.

Public function MatchKey: Integer;

This item has no description.

Public procedure GotoInsertEntry;

This item has no description.

Public procedure Clear;

This item has no description.

Public procedure GetNewPage;

This item has no description.

Public procedure Modified;

This item has no description.

Public procedure RecalcWeight;

This item has no description.

Public procedure UpdateWeight;

This item has no description.

Public procedure Flush;

This item has no description.

Public procedure SaveBracket;

This item has no description.

Public procedure RestoreBracket;

This item has no description.

Properties

Public property Key: PChar read GetKeyData;

This item has no description.

Public property Entry: Pointer read FEntry;

This item has no description.

Public property EntryNo: Integer read FEntryNo write SetEntryNo;

This item has no description.

Public property IndexFile: TIndexFile read FIndexFile;

This item has no description.

Public property UpperPage: TIndexPage read FUpperPage write SetUpperPage;

This item has no description.

Public property LowerPage: TIndexPage read FLowerPage;

This item has no description.

Public property PageBuffer: Pointer read FPageBuffer;

This item has no description.

Public property PageNo: Integer read FPageNo write SetPageNo;

This item has no description.

Public property Weight: Integer read FWeight;

This item has no description.

Public property NumEntries: Integer read GetNumEntries;

This item has no description.

Public property HighBracket: Integer read FHighBracket write FHighBracket;

This item has no description.

Public property HighIndex: Integer read FHighIndex;

This item has no description.

Public property HighPage: Integer read FHighPage write SetHighPage;

This item has no description.

Public property LowBracket: Integer read FLowBracket write FLowBracket;

This item has no description.

Public property LowIndex: Integer read FLowIndex;

This item has no description.

Public property LowPage: Integer read FLowPage write SetLowPage;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.