Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

hbd50.h File Reference


Detailed Description

indexhandling

******************************************************************************

------------------------------------------------------------------------------

Author:
JuergenP

Definition in file hbd50.h.

#include "gsp00.h"
#include "ggg00.h"
#include "gbd00.h"

Go to the source code of this file.

Functions

externPascal void bd50CalculatePageCount (tbd_current_tree &current, tgg00_Lkey &startSep, tgg00_Lkey &stopSep, tsp00_Int4 &pageCount)
externPascal void bd50CheckSubTree (tsp00_PageNo subRoot, tsp00_PageNo right, tsp00_Int2 longColCnt, tsp00_Int2 newLongColCnt, tsp00_Int4 &scanCount, tsp00_PageNo &boundNeighborLeaf, pasbool &bDumpParent, pasbool &bLongIsBad, tgg00_Lkey &reEntranceKey, tgg00_Lkey &checkKey, tbd_current_tree &current, pasbool bWithExtendedCheck, pasbool bCheckLongExistence)
externPascal void bd50DetermineKeyRangeForServer (tbd_current_tree &PrimCurrent, tsp00_KeyPtr StartPrimKey, tsp00_Int4 &StartPrimKeyLen, tsp00_KeyPtr StopPrimKey, tsp00_Int4 &StopPrimKeyLen, tsp00_Int4 &NumLeavesToScan, tsp00_Int4 &AvgRecordsPerLeaf, pasbool &bFinish)
externPascal void bd50DetermineLeafNode (tbd_current_tree &current, tsp00_KeyAddr pSepKey, tsp00_Int4 keyLen, tsp00_Int4 &recIndex, tsp00_PageNo &leaf, tsp00_PageNo &leftLeaf)
externPascal void bd50DropSubTree (tsp00_PageNo subRoot, integer numberOfLongs, pasbool bOnlyEmpty, tbd_current_tree &current)
externPascal void bd50EvalPageCount (tgg00_Lkey &start_key, tgg00_Lkey &stop_key, pasbool count_records, tsp00_Int4 &page_count, tsp00_Int4 &all_page_cnt, tsp00_Int4 &record_cnt, tbd_current_tree &current)
externPascal void bd50ExtractForeignKey (tgg00_MessBlock &m, tbd_current_tree &current, tbd_current_tree &tempCurrent)
externPascal void bd50ExtractTable (tbd_current_tree &current, tsp00_VFilename &hostFileName)
externPascal void bd50FindBranchNode (tsp00_Key &sepkey, tsp00_Int4 keyLen, tsp00_Int2 wantedLevel, tbd_node_ptrs &nptrs, tbd_neighbors &neighbs, pasbool &bWantedLevelFound, tbd_current_tree &current)
externPascal void bd50FindFirstLevelIndexNode (tsp00_Key &sepkey, tsp00_Int4 keyLen, tbd_node_ptrs &nptrs, tbd_neighbors &neighbs, pasbool &bFound, tbd_current_tree &current)
externPascal void bd50FindLeaf (tsp00_KeyPtr sepKey, tsp00_Int4 keyLen, pasbool bLockLeafExcl, tbd_node_ptrs &nptrs, tbd_neighbors &neighbs, tsp00_Int4 &recIndexForLeaf, tbd_current_tree &current)
externPascal tgg00_RecPtr bd50GetRecPtr (tbd_current_tree &Current, tbd_node_ptrs &Nptr, tsp00_Int4 RecIndex)
externPascal pasbool bd50IndexNodeIsSaveForDelete (tbd_current_tree &current, tsp00_Int4 recIndex, tsp00_Int4 maximumKeyLen)
externPascal pasbool bd50IndexNodeIsSaveForInsert (tbd_current_tree &current, tsp00_Int4 recIndex, tsp00_Int4 newKeyLen, tsp00_Int4 maximumKeyLen)
externPascal pasbool bd50IndexNodeIsSaveForReplace (tbd_current_tree &current, pasbool bIsGrowing, tsp00_Int4 recIndex, tsp00_Int4 newKeyLen, tsp00_Int4 maximumKeyLen)
externPascal void bd50MoveFileContent (tbd_current_tree &sourceCurrent, tbd_current_tree &destCurrent, tsp00_PageNo &subRoot)
externPascal void bd50PositionLeaf (tsp00_Int4 leafpos, tsp00_Int4 leafnodes, tsp00_Int4 &left_estimate, tsp00_Int4 &rightestimate, tbd_node_ptrs &nptrs, tbd_current_tree &current)
externPascal void bd50ReorgTreeIndex (tgg00_Lkey &truncRecKey, integer longColCnt, tbd_current_tree &current)
externPascal void bd50VerifySubTree (tsp00_PageNo subRoot, tsp00_PageNo right, pasbool bUpdateConverter, pasbool bWithExtendedCheck, tgg00_Lkey &reEntranceKey, tgg00_Lkey &checkKey, tsp00_PageNo &boundNeighborLeaf, pasbool &bDumpParent, tbd_current_tree &current, tsp00_Int4 &scanCount, tsp00_Int4 &numPages)


Generated by  Doxygen 1.6.0   Back to index