Mobile API Reference  MicroStrategy 2019
DSSConstantSlice Class Reference

#include <DSSConstantSlice.h>

Inheritance diagram for DSSConstantSlice:
DSSCubeDataSlice DSSCubeDataSlice

Public Member Functions

 DSSConstantSlice ()
 
int Init (char *ipData, int SizeInBype, EnumDSSDataType iDataType, DSSDataFlag iFlag)
 
virtual ~DSSConstantSlice ()
 
virtual EnumDSSDataType getDataType ()
 
virtual int getSizeOfData (int &orRowSize)
 
virtual int getFlag (int nKey, int *ipKey, DSSDataFlag &orFlag)
 
virtual int setVal (int nKey, int *ipKey, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag)
 
virtual int getVal (int nKey, int *ipKey, const char **oppData, int &orSize, EnumDSSDataType &orType, DSSDataFlag &orFlag, int *opThresholdID=NULL)
 
virtual int setValByOffset (int iOffset, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag)
 
virtual int getValByOffset (int iOffset, const char **oppData, int &orSize, EnumDSSDataType &orType, DSSDataFlag &orFlag, int *opThresholdID)
 
virtual int getNumeric (int nKey, int *ipKey, double &orVal, DSSDataFlag &orFlag, int *opThresholdID=NULL)
 
virtual int getNumericByOffset (int iOffset, double &orVal, DSSDataFlag &orFlag, int *opThresholdID=NULL)
 
virtual int setNumericByOffset (int iOffset, double &irVal, DSSDataFlag &irFlag)
 
virtual int setValueAndThreshold (int nKey, int *ipKey, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag, int iThresholdID)
 
virtual int setValueAndThresholdByOffset (int offset, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag, int iThresholdID)
 
virtual int updateValueWithString (int offset, char *ipString, int iStrLength)
 
virtual int size ()
 
 DSSConstantSlice ()
 
int Init (char *ipData, int SizeInBype, EnumDSSDataType iDataType, DSSDataFlag iFlag)
 
virtual ~DSSConstantSlice ()
 
virtual EnumDSSDataType getDataType ()
 
virtual int getSizeOfData (int &orRowSize)
 
virtual int getFlag (int nKey, int *ipKey, DSSDataFlag &orFlag)
 
virtual int setVal (int nKey, int *ipKey, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag)
 
virtual int getVal (int nKey, int *ipKey, const char **oppData, int &orSize, EnumDSSDataType &orType, DSSDataFlag &orFlag, int *opThresholdID=NULL)
 
virtual int setValByOffset (int iOffset, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag)
 
virtual int getValByOffset (int iOffset, const char **oppData, int &orSize, EnumDSSDataType &orType, DSSDataFlag &orFlag, int *opThresholdID)
 
virtual int getNumeric (int nKey, int *ipKey, double &orVal, DSSDataFlag &orFlag, int *opThresholdID=NULL)
 
virtual int getNumericByOffset (int iOffset, double &orVal, DSSDataFlag &orFlag, int *opThresholdID=NULL)
 
virtual int setNumericByOffset (int iOffset, double &irVal, DSSDataFlag &irFlag)
 
virtual int setValueAndThreshold (int nKey, int *ipKey, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag, int iThresholdID)
 
virtual int setValueAndThresholdByOffset (int offset, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag, int iThresholdID)
 
virtual int updateValueWithString (int offset, char *ipString, int iStrLength)
 
virtual int size ()
 
- Public Member Functions inherited from DSSCubeDataSlice
 DSSCubeDataSlice ()
 
virtual ~DSSCubeDataSlice ()
 
int Init (DSSDataColumn *ipColumn, DSSTabularIndex *ipIndices, bool ibColumnShared=false)
 
int SetMetricPosInfo (bool ifCreate, int iMetricPos)
 
DSSTabularIndexgetIndices ()
 
int get_IndicesC (DSSTabularIndex **oppIndex)
 
virtual DSSDataColumngetColumn ()
 
virtual int get_ColumnC (DSSDataColumn **oppColumn, bool iCreate=true)
 
virtual int get_RefColumnC (DSSDataColumn **oppColumn)
 
virtual int setValueAndThresholdByOffset (long long offset, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag, int iThresholdID)
 
virtual void RecycleMemory ()
 
virtual int SetThreshold (DSSDataColumn *lpThresholdColumn)
 
virtual int CopyThreshold (DSSCubeDataSlice *ipSourceDataSlice)
 
int setThresholdSlice (DSSCubeDataSlice *ipThreshholdSlice)
 
bool IsConstantSlice ()
 
void setConstantSlice ()
 
virtual int setCondition (DFCSimpleExpr *ipCondition, DSSXTabBitVector *ipMask)
 
virtual int Populate (DSSCubeDataSlice *pOriginalSlice, DSSTabularData *ipTabularData, Int32 *pUnitsMap=NULL, std::vector< Int32 > *ipConvertedAttributes=NULL, bool iRestoreDouble=false, Int32 **ippGToLMap1=NULL, IntToIntMap **ippGToLMap2=NULL, MCESchema *ipSchema=NULL)
 
DSSXTabBitVectorGetMask ()
 
DFCSimpleExpr * GetCondition ()
 
void clearIndex ()
 
int AttrFromInit (DSSTabularData *ipTabularData, Int32 iUnit, Int32 iOffset, bool iUseLookupForAttributes, vector< int > *ipLocalToGlobalMap)
 
int GetRefUnitPos ()
 
bool IsSFBSlice ()
 
int setSFBFlag (bool iSFBFlag)
 
bool IsConflict ()
 
int CompleteCondition ()
 
int get_MetricValueRange (VARIANT *pMin, VARIANT *pMax)
 
int put_MetricValueRange (VARIANT *pMin, VARIANT *pMax)
 
int get_OriginalRowCount (Int32 *pRowCount)
 
int put_OriginalRowCount (Int32 nRowCount)
 
int CalculateRange (DSSTabularData *ipTabularData=NULL)
 
int getOffsetFromKey (int nKey, int *ipKey, int &lOffset, DSSDataFlag &orFlag)
 
 DSSCubeDataSlice ()
 
virtual ~DSSCubeDataSlice ()
 
int Init (DSSDataColumn *ipColumn, DSSTabularIndex *ipIndices, bool ibColumnShared=false)
 
int SetMetricPosInfo (bool ifCreate, int iMetricPos)
 
DSSTabularIndexgetIndices ()
 
int get_IndicesC (DSSTabularIndex **oppIndex)
 
virtual DSSDataColumngetColumn ()
 
virtual int get_ColumnC (DSSDataColumn **oppColumn, bool iCreate=true)
 
virtual int get_RefColumnC (DSSDataColumn **oppColumn)
 
virtual int setValueAndThresholdByOffset (long long offset, char *ipData, int iSizeInByte, EnumDSSDataType iType, DSSDataFlag iFlag, int iThresholdID)
 
virtual void RecycleMemory ()
 
virtual int SetThreshold (DSSDataColumn *lpThresholdColumn)
 
virtual int CopyThreshold (DSSCubeDataSlice *ipSourceDataSlice)
 
int setThresholdSlice (DSSCubeDataSlice *ipThreshholdSlice)
 
bool IsConstantSlice ()
 
void setConstantSlice ()
 
virtual int setCondition (DFCSimpleExpr *ipCondition, DSSXTabBitVector *ipMask)
 
virtual int Populate (DSSCubeDataSlice *pOriginalSlice, DSSTabularData *ipTabularData, Int32 *pUnitsMap=NULL, std::vector< Int32 > *ipConvertedAttributes=NULL, bool iRestoreDouble=false, Int32 **ippGToLMap1=NULL, IntToIntMap **ippGToLMap2=NULL, MCESchema *ipSchema=NULL)
 
DSSXTabBitVectorGetMask ()
 
DFCSimpleExpr * GetCondition ()
 
void clearIndex ()
 
int AttrFromInit (DSSTabularData *ipTabularData, Int32 iUnit, Int32 iOffset, bool iUseLookupForAttributes, vector< int > *ipLocalToGlobalMap)
 
int GetRefUnitPos ()
 
bool IsSFBSlice ()
 
int setSFBFlag (bool iSFBFlag)
 
bool IsConflict ()
 
int CompleteCondition ()
 
int get_MetricValueRange (VARIANT *pMin, VARIANT *pMax)
 
int put_MetricValueRange (VARIANT *pMin, VARIANT *pMax)
 
int get_OriginalRowCount (Int32 *pRowCount)
 
int put_OriginalRowCount (Int32 nRowCount)
 
int CalculateRange (DSSTabularData *ipTabularData=NULL)
 
int getOffsetFromKey (int nKey, int *ipKey, int &lOffset, DSSDataFlag &orFlag)
 

Constructor & Destructor Documentation

◆ DSSConstantSlice() [1/2]

DSSConstantSlice::DSSConstantSlice ( )

◆ ~DSSConstantSlice() [1/2]

virtual DSSConstantSlice::~DSSConstantSlice ( )
virtual

◆ DSSConstantSlice() [2/2]

DSSConstantSlice::DSSConstantSlice ( )

◆ ~DSSConstantSlice() [2/2]

virtual DSSConstantSlice::~DSSConstantSlice ( )
virtual

Member Function Documentation

◆ getDataType() [1/2]

virtual EnumDSSDataType DSSConstantSlice::getDataType ( )
virtual

Reimplemented from DSSCubeDataSlice.

◆ getDataType() [2/2]

virtual EnumDSSDataType DSSConstantSlice::getDataType ( )
virtual

Reimplemented from DSSCubeDataSlice.

◆ getFlag() [1/2]

virtual int DSSConstantSlice::getFlag ( int  nKey,
int *  ipKey,
DSSDataFlag orFlag 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getFlag() [2/2]

virtual int DSSConstantSlice::getFlag ( int  nKey,
int *  ipKey,
DSSDataFlag orFlag 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getNumeric() [1/2]

virtual int DSSConstantSlice::getNumeric ( int  nKey,
int *  ipKey,
double &  orVal,
DSSDataFlag orFlag,
int *  opThresholdID = NULL 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getNumeric() [2/2]

virtual int DSSConstantSlice::getNumeric ( int  nKey,
int *  ipKey,
double &  orVal,
DSSDataFlag orFlag,
int *  opThresholdID = NULL 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getNumericByOffset() [1/2]

virtual int DSSConstantSlice::getNumericByOffset ( int  iOffset,
double &  orVal,
DSSDataFlag orFlag,
int *  opThresholdID = NULL 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getNumericByOffset() [2/2]

virtual int DSSConstantSlice::getNumericByOffset ( int  iOffset,
double &  orVal,
DSSDataFlag orFlag,
int *  opThresholdID = NULL 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getSizeOfData() [1/2]

virtual int DSSConstantSlice::getSizeOfData ( int &  orRowSize)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getSizeOfData() [2/2]

virtual int DSSConstantSlice::getSizeOfData ( int &  orRowSize)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getVal() [1/2]

virtual int DSSConstantSlice::getVal ( int  nKey,
int *  ipKey,
const char **  oppData,
int &  orSize,
EnumDSSDataType orType,
DSSDataFlag orFlag,
int *  opThresholdID = NULL 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getVal() [2/2]

virtual int DSSConstantSlice::getVal ( int  nKey,
int *  ipKey,
const char **  oppData,
int &  orSize,
EnumDSSDataType orType,
DSSDataFlag orFlag,
int *  opThresholdID = NULL 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getValByOffset() [1/2]

virtual int DSSConstantSlice::getValByOffset ( int  iOffset,
const char **  oppData,
int &  orSize,
EnumDSSDataType orType,
DSSDataFlag orFlag,
int *  opThresholdID 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ getValByOffset() [2/2]

virtual int DSSConstantSlice::getValByOffset ( int  iOffset,
const char **  oppData,
int &  orSize,
EnumDSSDataType orType,
DSSDataFlag orFlag,
int *  opThresholdID 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ Init() [1/2]

int DSSConstantSlice::Init ( char *  ipData,
int  SizeInBype,
EnumDSSDataType  iDataType,
DSSDataFlag  iFlag 
)

◆ Init() [2/2]

int DSSConstantSlice::Init ( char *  ipData,
int  SizeInBype,
EnumDSSDataType  iDataType,
DSSDataFlag  iFlag 
)

◆ setNumericByOffset() [1/2]

virtual int DSSConstantSlice::setNumericByOffset ( int  iOffset,
double &  irVal,
DSSDataFlag irFlag 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ setNumericByOffset() [2/2]

virtual int DSSConstantSlice::setNumericByOffset ( int  iOffset,
double &  irVal,
DSSDataFlag irFlag 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ setVal() [1/2]

virtual int DSSConstantSlice::setVal ( int  nKey,
int *  ipKey,
char *  ipData,
int  iSizeInByte,
EnumDSSDataType  iType,
DSSDataFlag  iFlag 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ setVal() [2/2]

virtual int DSSConstantSlice::setVal ( int  nKey,
int *  ipKey,
char *  ipData,
int  iSizeInByte,
EnumDSSDataType  iType,
DSSDataFlag  iFlag 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ setValByOffset() [1/2]

virtual int DSSConstantSlice::setValByOffset ( int  iOffset,
char *  ipData,
int  iSizeInByte,
EnumDSSDataType  iType,
DSSDataFlag  iFlag 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ setValByOffset() [2/2]

virtual int DSSConstantSlice::setValByOffset ( int  iOffset,
char *  ipData,
int  iSizeInByte,
EnumDSSDataType  iType,
DSSDataFlag  iFlag 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ setValueAndThreshold() [1/2]

virtual int DSSConstantSlice::setValueAndThreshold ( int  nKey,
int *  ipKey,
char *  ipData,
int  iSizeInByte,
EnumDSSDataType  iType,
DSSDataFlag  iFlag,
int  iThresholdID 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ setValueAndThreshold() [2/2]

virtual int DSSConstantSlice::setValueAndThreshold ( int  nKey,
int *  ipKey,
char *  ipData,
int  iSizeInByte,
EnumDSSDataType  iType,
DSSDataFlag  iFlag,
int  iThresholdID 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ setValueAndThresholdByOffset() [1/2]

virtual int DSSConstantSlice::setValueAndThresholdByOffset ( int  offset,
char *  ipData,
int  iSizeInByte,
EnumDSSDataType  iType,
DSSDataFlag  iFlag,
int  iThresholdID 
)
virtual

◆ setValueAndThresholdByOffset() [2/2]

virtual int DSSConstantSlice::setValueAndThresholdByOffset ( int  offset,
char *  ipData,
int  iSizeInByte,
EnumDSSDataType  iType,
DSSDataFlag  iFlag,
int  iThresholdID 
)
virtual

◆ size() [1/2]

virtual int DSSConstantSlice::size ( )
virtual

Reimplemented from DSSCubeDataSlice.

◆ size() [2/2]

virtual int DSSConstantSlice::size ( )
virtual

Reimplemented from DSSCubeDataSlice.

◆ updateValueWithString() [1/2]

virtual int DSSConstantSlice::updateValueWithString ( int  offset,
char *  ipString,
int  iStrLength 
)
virtual

Reimplemented from DSSCubeDataSlice.

◆ updateValueWithString() [2/2]

virtual int DSSConstantSlice::updateValueWithString ( int  offset,
char *  ipString,
int  iStrLength 
)
virtual

Reimplemented from DSSCubeDataSlice.