Class Reference
IRIS for UNIX 2019.3
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%DeepSee] >  [ComputedDimension] >  [MDX]
Private  Storage   

class %DeepSee.ComputedDimension.MDX extends %DeepSee.ComputedDimension.Base

This class implements a computed dimension that uses MDX expressions to resolve members.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5


Summary

Properties
%baseCube %cube %dimNumber %factName %factNumber
%hierNumber %levelNumber

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName
%ComputeBitset %ComputeIndexKey %ConstructClone
%Count %Create %CreateIndexFromSQL
%CreateIndexFromSearchableMeasure %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Eval
%Extends %GetAllMembers %GetBehavior
%GetComputedMembers %GetDimType %GetFactTable
%GetLevelNumber %GetParameter %GetPredefinedMembers
%GetSourceTable %IsA %IsModified
%MemberSearch %MemberSearchByIndex %MemberSearchByMembers
%New %NormalizeObject %ObjectModified
%OnComputeBitset %OnGetComputedMembers %OnGetComputedMembersFiltered
%OnKillFacts %OriginalNamespace %PackageName
%ProcessSQL %RemoveFromSaveSet %ResolveKey
%SerializeObject %SetModified %ValidateObject


Parameters

• parameter BEHAVIOR = "MDX";
Controls the run-time behavior of the dimension. Available values are "BITSET", and "MDX".
BITSET (default) indicates that this class will compute a set of bits that define membership within a given dimension member.
MDX indicates that this class will return a set of valid MDX expressions that will be used to resolve the members of the dimension.
• parameter DIMTYPE = "mdx";
Type reported back to the UI. This determines what type of control to display for filters based on this class.

Methods

• method %MemberSearch(pSearchKey As %String, Output pList As %List) as %Status
Execute a search for members.
Return a list of the form:
pList(n) = $LB(value,key)
• method %OnGetComputedMembersFiltered(ByRef pMemberList, pRollupKey As %String = "", ByRef pRange As %String = "") as %Status
Find the set of members for this computed dimension object satisfying pRollupKey and pRange (if applicable for this implementation).
pMemberList($I(pMemberList)) = $LB(id (expression),name,key,[format])
• method %ResolveKey(pSpec As %String, Output pRKey As %String) as %Status
Resolve any special tokens or expression in a key value and return the result.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.