Package mondrian.rolap
Class RolapResult.CompoundSlicerRolapMember
java.lang.Object
mondrian.olap.OlapElementBase
mondrian.olap.MemberBase
mondrian.rolap.RolapMemberBase
mondrian.rolap.DelegatingRolapMember
mondrian.rolap.RolapResult.CompoundSlicerRolapMember
- All Implemented Interfaces:
 Comparable,Annotated,Member,OlapElement,RolapMeasure,RolapMember
- Enclosing class:
 - RolapResult
 
public class RolapResult.CompoundSlicerRolapMember
extends DelegatingRolapMember
implements RolapMeasure
Member which holds the AggregateCalc used when evaluating a compound slicer. This is used to better handle some
 cases where calculated members elsewhere in the query can override the context of the slicer members. See
 MONDRIAN-1226.
- 
Nested Class Summary
Nested classes/interfaces inherited from class mondrian.rolap.RolapMemberBase
RolapMemberBase.DefaultPropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactoryFactoryNested classes/interfaces inherited from interface mondrian.olap.Member
Member.MemberTypeNested classes/interfaces inherited from interface mondrian.olap.OlapElement
OlapElement.LocalizedProperty - 
Field Summary
Fields inherited from class mondrian.rolap.DelegatingRolapMember
memberFields inherited from class mondrian.olap.MemberBase
flags, level, parentMember, uniqueNameFields inherited from class mondrian.olap.OlapElementBase
caption, visible - 
Constructor Summary
ConstructorsConstructorDescriptionCompoundSlicerRolapMember(RolapMember placeholderMember, Calc calc, mondrian.rolap.RolapResult.ValueFormatter formatter, TupleList tupleList)  - 
Method Summary
Modifier and TypeMethodDescriptiongetCompiledExpression(mondrian.rolap.RolapEvaluatorRoot root) Returns the expression by which this member is calculated.mondrian.rolap.RolapResult.ValueFormatterReturns the object that formats cells of this measure, or null to use default formatting.intCompoundSlicerRolapMember is always wrapped inside a CacheCalc.booleanReturns whether this member should be evaluated within the Evaluator.booleanisOnSameHierarchyChain(Member otherMember) Returns true if this member is on the same hierarchy chain asotherMember.booleanisOnSameHierarchyChainInternal(MemberBase member2) Methods inherited from class mondrian.rolap.DelegatingRolapMember
compareTo, getAncestorMembers, getAnnotationMap, getCaption, getDataMember, getDepth, getDescription, getDimension, getHierarchy, getKey, getLevel, getMemberType, getName, getOrderKey, getOrdinal, getParentMember, getParentUniqueName, getProperties, getPropertyFormattedValue, getPropertyValue, getPropertyValue, getQualifiedName, getUniqueName, isAll, isAllMember, isCalculated, isCalculatedInQuery, isChildOrEqualTo, isHidden, isMeasure, isNull, isParentChildLeaf, isParentChildPhysicalMember, lookupChild, setName, setPropertyMethods inherited from class mondrian.rolap.RolapMemberBase
childLevelHasApproxRowCount, containsAggregateFunction, equals, equals, getAllMembers, getCaptionValue, getHierarchyCardinality, getHierarchyOrdinal, getLogger, getPropertyFromMap, hashCode, keyToString, setCaptionValue, setContextIn, setOrdinal, setOrdinals, setUniqueNameMethods inherited from class mondrian.olap.MemberBase
computeCalculated, isChildOrEqualToMethods inherited from class mondrian.olap.OlapElementBase
clone, computeHashCode, getLocalized, isVisible, setCaption, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface mondrian.olap.Annotated
getAnnotationMapMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface mondrian.olap.Member
getAncestorMembers, getDataMember, getDepth, getMemberType, getOrderKey, getOrdinal, getParentUniqueName, getProperties, getPropertyFormattedValue, getPropertyValue, getPropertyValue, isAll, isCalculated, isCalculatedInQuery, isChildOrEqualTo, isHidden, isMeasure, isNull, isParentChildLeaf, isParentChildPhysicalMember, setName, setPropertyMethods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild 
- 
Constructor Details
- 
CompoundSlicerRolapMember
public CompoundSlicerRolapMember(RolapMember placeholderMember, Calc calc, mondrian.rolap.RolapResult.ValueFormatter formatter, TupleList tupleList)  
 - 
 - 
Method Details
- 
isEvaluated
public boolean isEvaluated()Description copied from interface:MemberReturns whether this member should be evaluated within the Evaluator.Normally
Member.isCalculated()andMember.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.- Specified by:
 isEvaluatedin interfaceMember- Overrides:
 isEvaluatedin classDelegatingRolapMember- Returns:
 - true if evaluated
 
 - 
getExpression
Description copied from class:MemberBaseReturns the expression by which this member is calculated. The expression is not null if and only if the member is not calculated.- Specified by:
 getExpressionin interfaceMember- Overrides:
 getExpressionin classDelegatingRolapMember
 - 
getCompiledExpression
- Overrides:
 getCompiledExpressionin classRolapMemberBase
 - 
getSolveOrder
public int getSolveOrder()CompoundSlicerRolapMember is always wrapped inside a CacheCalc. To maximize the benefit of the CacheCalc and the expression cache, the solve order of the CompoundSlicerRolapMember should be lower than all other calculations.- Specified by:
 getSolveOrderin interfaceMember- Overrides:
 getSolveOrderin classDelegatingRolapMember
 - 
isOnSameHierarchyChain
Description copied from interface:MemberReturns true if this member is on the same hierarchy chain asotherMember.- Specified by:
 isOnSameHierarchyChainin interfaceMember- Overrides:
 isOnSameHierarchyChainin classMemberBase- Returns:
 
 - 
isOnSameHierarchyChainInternal
- Overrides:
 isOnSameHierarchyChainInternalin classMemberBase
 - 
getFormatter
public mondrian.rolap.RolapResult.ValueFormatter getFormatter()Description copied from interface:RolapMeasureReturns the object that formats cells of this measure, or null to use default formatting.- Specified by:
 getFormatterin interfaceRolapMeasure- Returns:
 - formatter
 
 
 -