public static class RolapHierarchy.LimitedRollupMember extends RolapCubeMember
Note that this class extends RolapCubeMember only because other code
expects that all members in a RolapCubeHierarchy are RolapCubeMembers.
As part of Bug.BugSegregateRolapCubeMemberFixed
,
maybe make RolapCubeMember
an interface.
Role.RollupPolicy
RolapMemberBase.DefaultPropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactoryFactory
Member.MemberType
OlapElement.LocalizedProperty
Modifier and Type | Field and Description |
---|---|
RolapMember |
member |
cubeLevel, parentCubeMember
flags, level, parentMember, uniqueName
caption, visible
Modifier and Type | Method and Description |
---|---|
protected boolean |
computeCalculated(Member.MemberType memberType)
Computes the value to be returned by
MemberBase.isCalculated() , so it can
be cached in a variable. |
boolean |
containsAggregateFunction()
Returns whether this calculation contains an aggregate function.
|
boolean |
equals(Object o) |
Calc |
getCompiledExpression(mondrian.rolap.RolapEvaluatorRoot root)
Returns the compiled expression to evaluate the scalar value of the
current cell.
|
Exp |
getExpression()
Returns the expression by which this member is calculated.
|
int |
getHierarchyOrdinal()
Returns the ordinal of this calculation; to resolve ties.
|
int |
getSolveOrder()
Returns the solve order of this calculation.
|
int |
hashCode() |
boolean |
isCalculated()
Returns whether this member is computed using either a
with
member clause in an mdx query or a calculated member defined in
cube. |
boolean |
isCalculatedInQuery()
Returns whether this calculation is a member is computed from a
WITH MEMBER clause in an MDX query. |
boolean |
isEvaluated()
Returns whether this member should be evaluated within the Evaluator.
|
void |
setContextIn(RolapEvaluator evaluator)
Pushes this calculated member or tuple onto the stack of evaluation
contexts, and sets the context to the default member of the hierarchy.
|
compareTo, equals, getCube, getDataMember, getDimension, getHierarchy, getLevel, getParentMember, getPropertyValue, getPropertyValue, getRolapMember, getUniqueName, lookupChild, setProperty, toString
getAncestorMembers, getAnnotationMap, getCaption, getDepth, getDescription, getKey, getMemberType, getName, getOrderKey, getOrdinal, getParentUniqueName, getProperties, getPropertyFormattedValue, getQualifiedName, getSolveOrder, isAll, isAllMember, isCalculatedInQuery, isChildOrEqualTo, isHidden, isMeasure, isNull, isParentChildLeaf, isParentChildPhysicalMember, setName
childLevelHasApproxRowCount, containsAggregateFunction, getAllMembers, getCaptionValue, getCompiledExpression, getHierarchyCardinality, getHierarchyOrdinal, getLogger, getPropertyFromMap, keyToString, setCaptionValue, setContextIn, setOrdinal, setOrdinals, setUniqueName
isChildOrEqualTo
clone, computeHashCode, getLocalized, isVisible, setCaption
finalize, getClass, notify, notifyAll, wait, wait, wait
getKey, isAllMember
getAncestorMembers, getDepth, getMemberType, getOrderKey, getOrdinal, getParentUniqueName, getProperties, getPropertyFormattedValue, getSolveOrder, isAll, isCalculatedInQuery, isChildOrEqualTo, isHidden, isMeasure, isNull, isParentChildLeaf, isParentChildPhysicalMember, setName
getCaption, getDescription, getLocalized, getName, getQualifiedName, isVisible
getAnnotationMap
public final RolapMember member
public boolean equals(Object o)
equals
in class RolapCubeMember
public int hashCode()
hashCode
in class RolapCubeMember
public Exp getExpression()
MemberBase
getExpression
in interface Member
getExpression
in class RolapCubeMember
protected boolean computeCalculated(Member.MemberType memberType)
MemberBase
MemberBase.isCalculated()
, so it can
be cached in a variable.computeCalculated
in class MemberBase
memberType
- Member typepublic boolean isCalculated()
Member
with
member
clause in an mdx query or a calculated member defined in
cube.isCalculated
in interface Member
isCalculated
in class DelegatingRolapMember
public boolean isEvaluated()
Member
Normally Member.isCalculated()
and Member.isEvaluated()
should return
the same value, but in situations where mondrian would like to treat the
two concepts separately such in role based security, these values may
differ.
isEvaluated
in interface Member
isEvaluated
in class DelegatingRolapMember
public void setContextIn(RolapEvaluator evaluator)
evaluator
- Evaluatorpublic int getSolveOrder()
public int getHierarchyOrdinal()
public boolean isCalculatedInQuery()
WITH MEMBER
clause in an MDX query.public Calc getCompiledExpression(mondrian.rolap.RolapEvaluatorRoot root)
root
- Root evaluation contextpublic boolean containsAggregateFunction()
Copyright © 2019 Hitachi Vantara. All rights reserved.