Mobile API Reference  MicroStrategy 2019
DFCAttr Class Reference

#include <DFCAttr.h>

Public Types

enum  DFCATTR_TYPE {
  NORMAL_ATTRIBUTE, TRAN_ATTRIBUTE, ROLE_ATTRIBUTE, INDEPENDENT_ATTRIBUTE,
  DYNAMIC_ATTRIBUTE, TOTAL_DIM_ATTRIBUTE, DERIVED_ATTRIBUTE
}
 
enum  EnumDAPushDownStatus { DA_PUSHDOWN_RESERVED = 0, DA_PUSHDOWN_FAILED = 1, DA_PUSHDOWN_SUCCEED = 2 }
 

Public Member Functions

 DFCAttr (MBase::Buffer *)
 
void UnserializeForSmartClient (ICDSSReadBlockStream *ipReadBlockStream, MCESchema *ipMCESchema=NULL)
 
void CheckRefinement (MBase::Buffer *iBuffer, DFCSchemaInterface *iSchema, DFCBitVectorBase &iBVA, bool iFlag1, bool iFlag2, DFCBitVectorBase &iGroupby, bool &oRefined, bool &oGroupby, DFCBitVectorBase &oBVAr1, DFCBitVectorBase &oBVAr2, DFCBitVectorBase &ioCheckAttrs)
 
bool HasProperRefinement (DFCBitVectorBase &iBVAt, DFCBitVectorBase &oBVM1, MBase::Buffer *iBuffer, DFCSchemaInterface *ipSchema)
 
bool HasJointRefinement (DFCBitVectorBase &iBVAt, DFCBitVectorBase &oBVM1, MBase::Buffer *iBuffer, DFCSchemaInterface *ipSchema)
 
bool ElimJtChild (DFCBitVectorBase &iBV, MBase::Buffer *iBuffer, DFCSchemaInterface *ipSchema)
 
DFCBitVectorBase * GetRelativesVect (MBase::Buffer *ipBuffer, DFCSchemaInterface *ipSchema) const
 
Int32 GetId () const
 
void SetId (Int32 iNbr)
 
DSS_IDGetDSSID ()
 
DFCString GetName () const
 
vector< DFCAttrGroup *, MBase::Allocator< DFCAttrGroup * > > & GetJointChildren ()
 
bool IsQuality ()
 
bool IsTotalDim () const
 
bool IsDynamicAttr ()
 
virtual bool CheckIsDAOnRecursive ()
 
EnumDAPushDownStatus GetDAPushDownStatus ()
 
void SetDAPushDownStatus (EnumDAPushDownStatus iDAPushdownStatus)
 
void SerializeForSmartClient (ICDSSWriteBlockStream *ipWriteBlockStream, map< Int32, Int32, less< Int32 >, MBase::Allocator< pair< const Int32, Int32 > > > *ipAttrFilter=NULL)
 
void Print (ostream &)
 

Static Public Member Functions

static DFCAttrUnserializeForSmartClient (ICDSSReadBlockStream *ipReadBlockStream, MBase::Buffer *ipBuffer, MCESchema *ipMCESchema=NULL)
 

Member Enumeration Documentation

◆ DFCATTR_TYPE

Enumerator
NORMAL_ATTRIBUTE 
TRAN_ATTRIBUTE 
ROLE_ATTRIBUTE 
INDEPENDENT_ATTRIBUTE 
DYNAMIC_ATTRIBUTE 
TOTAL_DIM_ATTRIBUTE 
DERIVED_ATTRIBUTE 

◆ EnumDAPushDownStatus

Enumerator
DA_PUSHDOWN_RESERVED 
DA_PUSHDOWN_FAILED 
DA_PUSHDOWN_SUCCEED 

Constructor & Destructor Documentation

◆ DFCAttr()

DFCAttr::DFCAttr ( MBase::Buffer )

Member Function Documentation

◆ CheckIsDAOnRecursive()

virtual bool DFCAttr::CheckIsDAOnRecursive ( )
inlinevirtual

◆ CheckRefinement()

void DFCAttr::CheckRefinement ( MBase::Buffer iBuffer,
DFCSchemaInterface iSchema,
DFCBitVectorBase &  iBVA,
bool  iFlag1,
bool  iFlag2,
DFCBitVectorBase &  iGroupby,
bool &  oRefined,
bool &  oGroupby,
DFCBitVectorBase &  oBVAr1,
DFCBitVectorBase &  oBVAr2,
DFCBitVectorBase &  ioCheckAttrs 
)

◆ ElimJtChild()

bool DFCAttr::ElimJtChild ( DFCBitVectorBase &  iBV,
MBase::Buffer iBuffer,
DFCSchemaInterface ipSchema 
)

◆ GetDAPushDownStatus()

EnumDAPushDownStatus DFCAttr::GetDAPushDownStatus ( )
inline

◆ GetDSSID()

DSS_ID* DFCAttr::GetDSSID ( )
inline

◆ GetId()

Int32 DFCAttr::GetId ( ) const
inline

◆ GetJointChildren()

vector<DFCAttrGroup*, MBase::Allocator<DFCAttrGroup *> >& DFCAttr::GetJointChildren ( )
inline

◆ GetName()

DFCString DFCAttr::GetName ( ) const
inline

◆ GetRelativesVect()

DFCBitVectorBase* DFCAttr::GetRelativesVect ( MBase::Buffer ipBuffer,
DFCSchemaInterface ipSchema 
) const

◆ HasJointRefinement()

bool DFCAttr::HasJointRefinement ( DFCBitVectorBase &  iBVAt,
DFCBitVectorBase &  oBVM1,
MBase::Buffer iBuffer,
DFCSchemaInterface ipSchema 
)

◆ HasProperRefinement()

bool DFCAttr::HasProperRefinement ( DFCBitVectorBase &  iBVAt,
DFCBitVectorBase &  oBVM1,
MBase::Buffer iBuffer,
DFCSchemaInterface ipSchema 
)

◆ IsDynamicAttr()

bool DFCAttr::IsDynamicAttr ( )
inline

◆ IsQuality()

bool DFCAttr::IsQuality ( )
inline

◆ IsTotalDim()

bool DFCAttr::IsTotalDim ( ) const
inline

◆ Print()

void DFCAttr::Print ( ostream &  )
inline

◆ SerializeForSmartClient()

void DFCAttr::SerializeForSmartClient ( ICDSSWriteBlockStream ipWriteBlockStream,
map< Int32, Int32, less< Int32 >, MBase::Allocator< pair< const Int32, Int32 > > > *  ipAttrFilter = NULL 
)
inline

◆ SetDAPushDownStatus()

void DFCAttr::SetDAPushDownStatus ( EnumDAPushDownStatus  iDAPushdownStatus)
inline

◆ SetId()

void DFCAttr::SetId ( Int32  iNbr)
inline

◆ UnserializeForSmartClient() [1/2]

static DFCAttr* DFCAttr::UnserializeForSmartClient ( ICDSSReadBlockStream ipReadBlockStream,
MBase::Buffer ipBuffer,
MCESchema ipMCESchema = NULL 
)
static

◆ UnserializeForSmartClient() [2/2]

void DFCAttr::UnserializeForSmartClient ( ICDSSReadBlockStream ipReadBlockStream,
MCESchema ipMCESchema = NULL 
)