%DeepSee.Query.memberabstract class %DeepSee.Query.member
This class (or its subclass) is used by the DeepSee Query Engine
to process members within a DeepSee query.
Certain nodes (namely the
This is an abstract class, the actual work is done by subclasses.
Aggregate to apply to this measure (if applicable).
Name for the all level for this member.
Name of the cube this member belongs to.
Dimension # referred to by the tuple.
Hierarchy # referred to by the tuple.
Level # referred to by the tuple.
Member id value (optional).
Member key value (optional).
Array of known value/id/key triplets for each level.
Member name or value referred to by the tuple.
The tuple object that owns this member.
This indicates the context specified by the tuple expression.
The value can be one of the dst macros ($$$dstSet etc.).
This is used to determine which function can be applied to this tuple.
Set the state of this member using the current meta data node.
Create an instance of %DeepSee.Query.member.
Find the member with the given key within the given hierarchy. If pRecurse is true, look at the current level and continue through higher levels until a match is found.
See if there is a member with the given name within the specified dimension,hierarchy, and/or level.
If pLevel is supplied, only look in that level.
Set pFlag true if a member is found.
On return, fills in memberSpec
memberSpec(level) = $LB(name,key)
memberSpec(0) = $LB("All Time")
memberSpec(1) = $LB(2006,2006)
memberSpec(2) = $LB("Quarter 1", "Q1 2006")
memberSpec(3) = $LB("January","Jan 2006")
Helper method: Get the ALL level name for dimension, if present. Also return the localized caption via pCaption.
Return the ordinal position of this member within its parent group. For convenience, also return the parent key for this member.
Get members and place them into the axis tree.
pRecurse, if 1, indicates that this function is to be called recursively to build a tree of members. If -1, include the All level (if present) and the top level (used by %TOPMEMBERS). pRange, if defined, is an array contains a starting and ending key value.
pMemberList, if defined, is an INLIST used for certain optimized member operations.
Helper method: Get information about the given level from the cube meta data.
As a side effect, set the dependency variable, %dsDepends.
Get the nth child of the current member and place it into pSet.
If pNumber is 1 return the first child; 2 for the second, etc.
If pNumber is -1 return the last child; -2 for the second from end, etc.
Helper method: Get the Null Replacement value for the given level. Also return the localized caption via pCaption.
Get the parent of the current member and place it into pSet.
Lookup the value of the given dimension property.
Get one member and place it into pSet.
pKey, is the key for the base member to return. pRelation indicates how this member is related to the base member. "same","lead", "lag", etc.
pOffset, is an optional offset to apply to the relation.
Find the rollup key for the specified level.
Helper method: Get the time offset and format values for the given level.
Return the type of this member.
Test if this member supports the given feature. For example, "NOW".
Process the member id, name, and key information for this member. Put the result into pSet.
Set the current level number context for this member.
Test if this member supports the given function.