Mobile API Reference  MicroStrategy 2019
DSSElementBlocks Class Reference

#include <DSSTabularIndex.h>

Public Member Functions

 DSSElementBlocks ()
 
int Init (Int32 iSize, Int32 iTotalRows, Int32 iMaxKey)
 
int GetSizeMax (UInt64 *pcbSize)
 
void AddBlock (Int32 iAddress, Int32 iKey)
 
void Finalize (DSSXTabKeyIterator &irIterator, Int32 iPos)
 
Int32 GetNumBlocks ()
 
Int32 GetNumKeys ()
 
Int32 GetStartAddress (Int32 iBlockNum)
 
Int32 GetBlockByRank (Int32 iBlockRank)
 
Int32GetStartAddressPtr ()
 
Int32GetRankPtr ()
 
Int32 GetEndAddress (Int32 iBlockNum)
 
void GetBlocksForKey (Int32 iKey, Int32 *&opStart, Int32 *&opEnd)
 
void GetBlockRanksForKey (Int32 iKey, Int32 &orStartRank, Int32 &orEndRank)
 
Int32 GetRank (Int32 iBlock)
 
Int32GetKeyIndexPtr ()
 
 DSSElementBlocks ()
 
int Init (Int32 iSize, Int32 iTotalRows, Int32 iMaxKey)
 
int GetSizeMax (UInt64 *pcbSize)
 
void AddBlock (Int32 iAddress, Int32 iKey)
 
void Finalize (DSSXTabKeyIterator &irIterator, Int32 iPos)
 
Int32 GetNumBlocks ()
 
Int32 GetNumKeys ()
 
Int32 GetStartAddress (Int32 iBlockNum)
 
Int32 GetBlockByRank (Int32 iBlockRank)
 
Int32GetStartAddressPtr ()
 
Int32GetRankPtr ()
 
Int32 GetEndAddress (Int32 iBlockNum)
 
void GetBlocksForKey (Int32 iKey, Int32 *&opStart, Int32 *&opEnd)
 
void GetBlockRanksForKey (Int32 iKey, Int32 &orStartRank, Int32 &orEndRank)
 
Int32 GetRank (Int32 iBlock)
 
Int32GetKeyIndexPtr ()
 

Public Attributes

Int32mpAddress
 

Constructor & Destructor Documentation

◆ DSSElementBlocks() [1/2]

DSSElementBlocks::DSSElementBlocks ( )
inline

◆ DSSElementBlocks() [2/2]

DSSElementBlocks::DSSElementBlocks ( )
inline

Member Function Documentation

◆ AddBlock() [1/2]

void DSSElementBlocks::AddBlock ( Int32  iAddress,
Int32  iKey 
)
inline

◆ AddBlock() [2/2]

void DSSElementBlocks::AddBlock ( Int32  iAddress,
Int32  iKey 
)
inline

◆ Finalize() [1/2]

void DSSElementBlocks::Finalize ( DSSXTabKeyIterator irIterator,
Int32  iPos 
)
inline

◆ Finalize() [2/2]

void DSSElementBlocks::Finalize ( DSSXTabKeyIterator irIterator,
Int32  iPos 
)
inline

◆ GetBlockByRank() [1/2]

Int32 DSSElementBlocks::GetBlockByRank ( Int32  iBlockRank)
inline

◆ GetBlockByRank() [2/2]

Int32 DSSElementBlocks::GetBlockByRank ( Int32  iBlockRank)
inline

◆ GetBlockRanksForKey() [1/2]

void DSSElementBlocks::GetBlockRanksForKey ( Int32  iKey,
Int32 orStartRank,
Int32 orEndRank 
)
inline

◆ GetBlockRanksForKey() [2/2]

void DSSElementBlocks::GetBlockRanksForKey ( Int32  iKey,
Int32 orStartRank,
Int32 orEndRank 
)
inline

◆ GetBlocksForKey() [1/2]

void DSSElementBlocks::GetBlocksForKey ( Int32  iKey,
Int32 *&  opStart,
Int32 *&  opEnd 
)
inline

◆ GetBlocksForKey() [2/2]

void DSSElementBlocks::GetBlocksForKey ( Int32  iKey,
Int32 *&  opStart,
Int32 *&  opEnd 
)
inline

◆ GetEndAddress() [1/2]

Int32 DSSElementBlocks::GetEndAddress ( Int32  iBlockNum)
inline

◆ GetEndAddress() [2/2]

Int32 DSSElementBlocks::GetEndAddress ( Int32  iBlockNum)
inline

◆ GetKeyIndexPtr() [1/2]

Int32* DSSElementBlocks::GetKeyIndexPtr ( )
inline

◆ GetKeyIndexPtr() [2/2]

Int32* DSSElementBlocks::GetKeyIndexPtr ( )
inline

◆ GetNumBlocks() [1/2]

Int32 DSSElementBlocks::GetNumBlocks ( )
inline

◆ GetNumBlocks() [2/2]

Int32 DSSElementBlocks::GetNumBlocks ( )
inline

◆ GetNumKeys() [1/2]

Int32 DSSElementBlocks::GetNumKeys ( )
inline

◆ GetNumKeys() [2/2]

Int32 DSSElementBlocks::GetNumKeys ( )
inline

◆ GetRank() [1/2]

Int32 DSSElementBlocks::GetRank ( Int32  iBlock)
inline

◆ GetRank() [2/2]

Int32 DSSElementBlocks::GetRank ( Int32  iBlock)
inline

◆ GetRankPtr() [1/2]

Int32* DSSElementBlocks::GetRankPtr ( )
inline

◆ GetRankPtr() [2/2]

Int32* DSSElementBlocks::GetRankPtr ( )
inline

◆ GetSizeMax() [1/2]

int DSSElementBlocks::GetSizeMax ( UInt64 pcbSize)
inline

◆ GetSizeMax() [2/2]

int DSSElementBlocks::GetSizeMax ( UInt64 pcbSize)
inline

◆ GetStartAddress() [1/2]

Int32 DSSElementBlocks::GetStartAddress ( Int32  iBlockNum)
inline

◆ GetStartAddress() [2/2]

Int32 DSSElementBlocks::GetStartAddress ( Int32  iBlockNum)
inline

◆ GetStartAddressPtr() [1/2]

Int32* DSSElementBlocks::GetStartAddressPtr ( )
inline

◆ GetStartAddressPtr() [2/2]

Int32* DSSElementBlocks::GetStartAddressPtr ( )
inline

◆ Init() [1/2]

int DSSElementBlocks::Init ( Int32  iSize,
Int32  iTotalRows,
Int32  iMaxKey 
)
inline

◆ Init() [2/2]

int DSSElementBlocks::Init ( Int32  iSize,
Int32  iTotalRows,
Int32  iMaxKey 
)
inline

Member Data Documentation

◆ mpAddress

Int32 * DSSElementBlocks::mpAddress