Package mondrian.rolap
Class RolapHierarchy.RolapCalculatedMeasure
- java.lang.Object
-
- mondrian.olap.OlapElementBase
-
- mondrian.olap.MemberBase
-
- mondrian.rolap.RolapMemberBase
-
- mondrian.rolap.RolapCalculatedMember
-
- mondrian.rolap.RolapHierarchy.RolapCalculatedMeasure
-
- All Implemented Interfaces:
Comparable
,Annotated
,Member
,OlapElement
,RolapMeasure
,RolapMember
- Enclosing class:
- RolapHierarchy
protected class RolapHierarchy.RolapCalculatedMeasure extends RolapCalculatedMember implements RolapMeasure
Calculated member which is also a measure (that is, a member of the [Measures] dimension).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mondrian.rolap.RolapMemberBase
RolapMemberBase.DefaultPropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactoryFactory
-
Nested classes/interfaces inherited from interface mondrian.olap.Member
Member.MemberType
-
Nested classes/interfaces inherited from interface mondrian.olap.OlapElement
OlapElement.LocalizedProperty
-
-
Field Summary
-
Fields inherited from class mondrian.olap.MemberBase
flags, level, parentMember, uniqueName
-
Fields inherited from class mondrian.olap.OlapElementBase
caption, visible
-
-
Constructor Summary
Constructors Constructor Description RolapCalculatedMeasure(RolapMember parent, RolapLevel level, String name, Formula formula)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description mondrian.rolap.RolapResult.ValueFormatter
getFormatter()
Returns the object that formats cells of this measure, or null to use default formatting.void
setProperty(String name, Object value)
Sets a property of this member to a given value.-
Methods inherited from class mondrian.rolap.RolapCalculatedMember
computeCalculated, getAnnotationMap, getBaseCube, getExpression, getFormula, getPropertyValue, getSolveOrder, isCalculatedInQuery, setBaseCube
-
Methods inherited from class mondrian.rolap.RolapMemberBase
childLevelHasApproxRowCount, compareTo, containsAggregateFunction, equals, equals, getAllMembers, getCaptionValue, getCompiledExpression, getDepth, getHierarchy, getHierarchyCardinality, getHierarchyOrdinal, getKey, getLevel, getLogger, getName, getOrderKey, getOrdinal, getParentMember, getProperties, getPropertyFormattedValue, getPropertyFromMap, getPropertyValue, hashCode, isAllMember, isHidden, isParentChildLeaf, keyToString, setCaptionValue, setContextIn, setName, setOrdinal, setOrdinals, setUniqueName
-
Methods inherited from class mondrian.olap.MemberBase
getAncestorMembers, getCaption, getDataMember, getDescription, getDimension, getMemberType, getParentUniqueName, getQualifiedName, getUniqueName, isAll, isCalculated, isChildOrEqualTo, isChildOrEqualTo, isEvaluated, isMeasure, isNull, isOnSameHierarchyChain, isOnSameHierarchyChainInternal, isParentChildPhysicalMember, lookupChild
-
Methods inherited from class mondrian.olap.OlapElementBase
clone, computeHashCode, getLocalized, isVisible, setCaption, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface mondrian.olap.Annotated
getAnnotationMap
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface mondrian.olap.Member
getAncestorMembers, getDataMember, getDepth, getExpression, getMemberType, getOrderKey, getOrdinal, getParentUniqueName, getProperties, getPropertyFormattedValue, getPropertyValue, getPropertyValue, getSolveOrder, isAll, isCalculated, isCalculatedInQuery, isChildOrEqualTo, isEvaluated, isHidden, isMeasure, isNull, isOnSameHierarchyChain, isParentChildLeaf, isParentChildPhysicalMember, setName
-
Methods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild
-
-
-
-
Constructor Detail
-
RolapCalculatedMeasure
public RolapCalculatedMeasure(RolapMember parent, RolapLevel level, String name, Formula formula)
-
-
Method Detail
-
setProperty
public void setProperty(String name, Object value)
Description copied from class:RolapMemberBase
Sets a property of this member to a given value.WARNING: Setting system properties such as "$name" may have nasty side-effects.
- Specified by:
setProperty
in interfaceMember
- Overrides:
setProperty
in classRolapMemberBase
-
getFormatter
public mondrian.rolap.RolapResult.ValueFormatter getFormatter()
Description copied from interface:RolapMeasure
Returns the object that formats cells of this measure, or null to use default formatting.- Specified by:
getFormatter
in interfaceRolapMeasure
- Returns:
- formatter
-
-