mondrian.rolap
Class RolapHierarchy.LimitedRollupMember
java.lang.Object
mondrian.olap.OlapElementBase
mondrian.olap.MemberBase
mondrian.rolap.RolapMember
mondrian.rolap.RolapCubeMember
mondrian.rolap.RolapHierarchy.LimitedRollupMember
- All Implemented Interfaces:
- Comparable, Member, OlapElement
- Enclosing class:
- RolapHierarchy
public static class RolapHierarchy.LimitedRollupMember
- extends RolapCubeMember
Substitute for a member in a hierarchy whose rollup policy is 'partial'
or 'hidden'. The member is calculated using an expression which
aggregates only visible descendants.
Note that this class extends RolapCubeMember only because other code
expects that all members in a RolapCubeHierarchy are RolapCubeMembers.
- See Also:
Role.RollupPolicy
-
-
Methods inherited from class mondrian.rolap.RolapCubeMember |
compareTo, equals, getCaption, getCube, getDataMember, getDepth, getHierarchy, getKey, getLevel, getMemberType, getName, getOrderKey, getOrdinal, getParentMember, getPropertyFromMap, getPropertyValue, getRolapMember, getSolveOrder, isAll, isCalculatedInQuery, isMeasure, isNull, lookupChild, setOrderKey, setOrdinal, setProperty |
Methods inherited from class mondrian.rolap.RolapMember |
childLevelHasApproxRowCount, getAllMembers, getHierarchyCardinality, getLogger, getProperties, getPropertyFormattedValue, getPropertyValue, isAllMember, isHidden, keyToString, makeUniqueName, setName, setOrdinals, setParentMember, setUniqueName |
member
public final RolapMember member
RolapHierarchy.LimitedRollupMember
RolapHierarchy.LimitedRollupMember(RolapCubeMember member,
Exp exp)
equals
public boolean equals(Object o)
- Overrides:
equals
in class RolapCubeMember
hashCode
public int hashCode()
- Overrides:
hashCode
in class RolapMember
getExpression
public Exp getExpression()
- Description copied from class:
MemberBase
- Returns the expression by which this member is calculated. The expression
is not null if and only if the member is not calculated.
- Specified by:
getExpression
in interface Member
- Overrides:
getExpression
in class RolapCubeMember
computeCalculated
protected boolean computeCalculated(Member.MemberType memberType)
- Description copied from class:
MemberBase
- Computes the value to be returned by
MemberBase.isCalculated()
, so it can
be cached in a variable.
- Overrides:
computeCalculated
in class MemberBase
- Parameters:
memberType
- Member type
- Returns:
- Whether this member is calculated
isCalculated
public boolean isCalculated()
- Description copied from interface:
Member
- Returns whether this member is computed using either a
with
member
clause in an mdx query or a calculated member defined in
cube.
- Specified by:
isCalculated
in interface Member
- Overrides:
isCalculated
in class RolapCubeMember