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

cbd600_Node Class Reference

#include <gbd600.h>

List of all members.


Detailed Description

class: cbd600_Node description: methodes to handle Node-Pages

Definition at line 96 of file gbd600.h.


Public Member Functions

void bd600AddRecordSpace (tsp00_Int4 RequiredLen, tsp00_Int4 RecIndex, tgg00_RecPtr &pRec)
void bd600BuildSeparatorKey (bool bNodeIsLeft, tsp00_KeyPtr pNeighborKey, tsp00_Int4 NeighborKeyLen, tsp00_KeyPtr &pNewSepKey, tsp00_Int2 &NewSepKeyLen) const
void bd600BuildSeparatorKey (cbd600_Node &RightNeighbor, tsp00_KeyPtr &pSepKey, tsp00_Int2 &SepKeyLen) const
void bd600Check (const bool bWithExtendedCheck) const
void bd600CheckIndex () const
void bd600CheckWithErrorHandling () const
void bd600CopyBody (cbd600_Node &SrcNode)
void bd600CountRecords (tsp00_KeyPtr pStartKey, tsp00_Int4 StartKeyLen, tsp00_KeyPtr pStopKey, tsp00_Int4 StopKeyLen, tsp00_Int4 &RecordCnt) const
tsp00_Int4 bd600Covering () const
void bd600DelRecordSpace (tsp00_Int4 RecIndex)
void bd600Dump (tsp00_Int4 ErrorId, const char *MsgText) const
void bd600EvalSepKeyLen (tsp00_KeyPtr pKey, tsp00_Int4 KeyLen, tsp00_KeyPtr pNewSepKey, tsp00_Int2 &NewSepKeyLen) const
void bd600Exchange (cbd600_Node &Neighbor)
tgg00_RecPtr bd600FirstRecPtr () const
void bd600Free ()
tsp00_PageNo bd600GetId () const
void bd600GetNode (tsp00_PageNo PageNo)
void bd600GetNode (tsp00_PageNo PageNo, const tbd_node_request &RequestKind)
tbd_nodeptr bd600GetNodePtr ()
tbd_node_ptrs bd600GetNodePtrs ()
void bd600GetStatistic (tgg00_SampleInfo &Info, tbd_stat_aux_vars &StatAuxVars, bool bWithSelectivity) const
bool bd600IsAccessable () const
bool bd600IsLeaf () const
bool bd600IsRoot () const
bool bd600IsUpdateable () const
tsp00_Int4 bd600LeafCount (const tsp00_Int4 StartRecIndex, const tsp00_Int4 StopRecIndex) const
tsp00_Int4 & bd600LeafCount ()
tsp00_Int4 bd600Level () const
tsp00_Int4 bd600MaxRecIndex () const
void bd600Move (tsp00_PageNo NewId)
void bd600New (tsp00_Int4 Level)
tgg00_RecPtr bd600NewRecPtr ()
bool bd600NodeIsRequested () const
tsp00_Int4 bd600NumRecords () const
tsp00_Int4 bd600PageConverterVersion () const
tsp00_Int4 bd600PrimKeyCount (const tsp00_Int4 StartRecIndex, const tsp00_Int4 StopRecIndex) const
void bd600Print () const
void bd600PrintPointerList () const
tsp00_Int4 bd600RecOffset (tsp00_Int4 RecIndex) const
tgg00_RecPtr bd600RecPtr (tsp00_Int4 RecIndex) const
void bd600Release (bool IsChanged)
tsp00_PageNo bd600RightNeighbor () const
void bd600SearchRecord (tsp00_KeyPtr pKey, tsp00_Int4 KeyLen, tsp00_Int4 &RecIndex, tbd_searchresult &SearchResult) const
bool bd600SpaceIsAvailable (tsp00_Int4 RequiredLen) const
tsp00_Int4 bd600SumKeyLen () const
tgg00_BasisError bd600TrError () const
tgg00_BasisError & bd600TrError ()
void bd600UpdRecordSpace (tsp00_Int4 RecSizeDelta, tsp00_Int4 RecIndex, tgg00_RecPtr pRec)
 cbd600_Node (cbd300_InvCurrentBasis &Current, tbd_node &Buffer, const tbd00_PageLockMode &PageLockMode=tbd00_PageLockMode::fromConst(plmLock_ebd00))
 cbd600_Node (cbd300_InvCurrentBasis &Current, const tbd_node_request &RequestKind, tbd_node_ptrs &Nptr, const tbd00_PageLockMode &PageLockMode=tbd00_PageLockMode::fromConst(plmLock_ebd00))
 cbd600_Node (cbd300_InvCurrentBasis &Current, const tbd_node_request &RequestKind, tsp00_PageNo Pno, const tbd00_PageLockMode &PageLockMode=tbd00_PageLockMode::fromConst(plmLock_ebd00))
 cbd600_Node (cbd300_InvCurrentBasis &Current, const tbd_node_request &RequestKind, const tbd00_PageLockMode &PageLockMode=tbd00_PageLockMode::fromConst(plmLock_ebd00))
 cbd600_Node (cbd300_InvCurrentBasis &Current, const tbd00_PageLockMode &PageLockMode=tbd00_PageLockMode::fromConst(plmLock_ebd00))
 cbd600_Node (const cbd600_Node &Node)
 ~cbd600_Node ()

Static Public Member Functions

static tgg00_RecPtr bd600FirstRecPtr (tbd_nodeptr pNode)

Protected Member Functions

void bd600_CheckLeafCount () const
void bd600_GetIndexNodeStatistic (tgg00_SampleInfo &SampleInfo, tbd_stat_aux_vars &StatAuxVars) const
void bd600_GetInvLeafSelectivity (tgg00_SampleInfo &SampleInfo) const
void bd600_GetInvLeafStatistic (tgg00_SampleInfo &SampleInfo) const
void bd600_GetPageFromDataCache (tsp00_PageNo PageNo, const tbd_node_request &RequestKind)
void bd600_GetSubTreeLeafStatistic (tgg00_SampleInfo &SampleInfo) const
void bd600_GetSubTreeStatistics (tgg00_RecPtr pRec, tgg00_SampleInfo &SampleInfo) const
void bd610_AddPosition (tsp00_Int4 RecPos, tsp00_Int4 RecIndex)
void bd610_CopyPointerList (const cbd600_Node &SrcNode)
void bd610_DelHighIndexPositions (tsp00_Int4 NumDeletedRecords)
void bd610_DelPosition (tsp00_Int4 RecIndex)
void bd610_Merge (cbd600_Node &SourceNode, tsp00_Int4 Offset)
void bd610_QuickSort (tsp00_Int4 NumRecPosElem, tgg00_PagePos *pMinRecPosElem)
void bd610_SortForDistribution (tsp00_Int4 LastDistribIndex)
void bd610_UpdatePositions (tsp00_Int4 TargetPos, tsp00_Int4 ShiftLen)
void bd610_UpdatePositionsRange (tsp00_Int4 FirstIndex, tsp00_Int4 LastIndex, tsp00_Int4 MinRecOffset, tsp00_Int4 MaxRecOffset, tsp00_Int4 ShiftLen)
tsp00_Int4 bd620_CalcBlockLenAndSetIndexToNextBlock (cbd600_Node &AuxNode, tsp00_Int4 &CurrIndex, tsp00_Int4 MaxIndex)
void bd620_DeleteRecordsFromPage (bool bRightDistribution, tsp00_Int4 RecIndex)
void bd620_FindOptimDistribForDelete (cbd600_Node &Neighbor, bool bRightDistribution, tsp00_Int4 Covering, tsp00_Int4 NeighborCovering, bool &bDistributionFound, tsp00_Int4 &OptimRecIndex)
void bd620_FindOptimDistribForInsert (bool bRightDistribution, tsp00_Int4 RequiredLen, tsp00_Int4 NeighborCovering, tsp00_Int4 RecIndex, bool &bDistributionFound, tsp00_Int4 &OptimRecIndex, bool &bMoveNewRecordIntoNeighbor)
void bd620_FindOptimDistribForUpdate (bool bRightDistribution, tsp00_Int4 RequiredLen, tsp00_Int4 NeighborCovering, tsp00_Int4 RecIndex, bool &bDistributionFound, tsp00_Int4 &OptimRecIndex, bool &bMoveRecordIntoNeighbor)
void bd620_MergeNodes (cbd600_Node &LeftNode)

Protected Attributes

cbd300_InvCurrentBasism_Current
tbd_node_ptrs m_NodePtrs
tbd00_PageLockMode m_PageLockMode
tbd_nodeptr & m_pNode
tsp00_Int4 * m_pRecIndexList
tbd_node_request m_RequestKind
tgg00_BasisError & m_TrError

Friends

class cbd400_InvTree
class cbd500_SubTree
class cbd500_Tree
class cbd800_PrimaryTree

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index