Package mondrian.rolap
Class RolapVirtualCubeMeasure
java.lang.Object
mondrian.olap.OlapElementBase
mondrian.olap.MemberBase
mondrian.rolap.RolapMemberBase
mondrian.rolap.RolapVirtualCubeMeasure
- All Implemented Interfaces:
Comparable,Annotated,Member,OlapElement,RolapMeasure,RolapMember,RolapStoredMeasure
Measure which is defined in a virtual cube, and based on a stored measure
in one of the virtual cube's base cubes.
- Since:
- Aug 18, 2006
- Author:
- jhyde
-
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.olap.MemberBase
flags, level, parentMember, uniqueNameFields inherited from class mondrian.olap.OlapElementBase
caption, visible -
Constructor Summary
ConstructorsConstructorDescriptionRolapVirtualCubeMeasure(RolapMember parentMember, RolapLevel level, RolapStoredMeasure cubeMeasure, Map<String, Annotation> annotationMap) -
Method Summary
Modifier and TypeMethodDescriptionReturns the aggregation function which rolls up this measure: "SUM", "COUNT", etc.Returns a list of annotations.getCube()Returns the cube this measure belongs to.mondrian.rolap.RolapResult.ValueFormatterReturns the object that formats cells of this measure, or null to use default formatting.Returns the column which holds the value of the measure.getPropertyValue(String propertyName, boolean matchCase) Returns the value of the property namedpropertyName, matching according to the required case-sensitivity.intReturns the solve order of this calculation.Returns theRolapStar.Measurefrom which this member is computed.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, isCalculatedInQuery, isHidden, isParentChildLeaf, keyToString, setCaptionValue, setContextIn, setName, setOrdinal, setOrdinals, setProperty, setUniqueNameMethods inherited from class mondrian.olap.MemberBase
computeCalculated, getAncestorMembers, getCaption, getDataMember, getDescription, getDimension, getExpression, getMemberType, getParentUniqueName, getQualifiedName, getSolveOrder, getUniqueName, isAll, isCalculated, isChildOrEqualTo, isChildOrEqualTo, isEvaluated, isMeasure, isNull, isOnSameHierarchyChain, isOnSameHierarchyChainInternal, isParentChildPhysicalMember, lookupChildMethods 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 java.lang.Comparable
compareToMethods inherited from interface mondrian.olap.Member
getAncestorMembers, getDataMember, getDepth, getExpression, getMemberType, getOrderKey, getOrdinal, getParentUniqueName, getProperties, getPropertyFormattedValue, getPropertyValue, getSolveOrder, isAll, isCalculated, isCalculatedInQuery, isChildOrEqualTo, isEvaluated, isHidden, isMeasure, isNull, isOnSameHierarchyChain, isParentChildLeaf, isParentChildPhysicalMember, setName, setPropertyMethods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild
-
Constructor Details
-
RolapVirtualCubeMeasure
public RolapVirtualCubeMeasure(RolapMember parentMember, RolapLevel level, RolapStoredMeasure cubeMeasure, Map<String, Annotation> annotationMap)
-
-
Method Details
-
getPropertyValue
Description copied from interface:MemberReturns the value of the property namedpropertyName, matching according to the required case-sensitivity.- Specified by:
getPropertyValuein interfaceMember- Overrides:
getPropertyValuein classRolapMemberBase
-
getCube
Description copied from interface:RolapStoredMeasureReturns the cube this measure belongs to.- Specified by:
getCubein interfaceRolapStoredMeasure
-
getStarMeasure
Description copied from interface:RolapStoredMeasureReturns theRolapStar.Measurefrom which this member is computed. Untyped, because another implementation might store it somewhere else.- Specified by:
getStarMeasurein interfaceRolapStoredMeasure
-
getMondrianDefExpression
Description copied from interface:RolapStoredMeasureReturns the column which holds the value of the measure.- Specified by:
getMondrianDefExpressionin interfaceRolapStoredMeasure
-
getAggregator
Description copied from interface:RolapStoredMeasureReturns the aggregation function which rolls up this measure: "SUM", "COUNT", etc.- Specified by:
getAggregatorin interfaceRolapStoredMeasure
-
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
-
getAnnotationMap
Description copied from interface:AnnotatedReturns a list of annotations.The map may be empty, never null.
- Specified by:
getAnnotationMapin interfaceAnnotated- Overrides:
getAnnotationMapin classRolapMemberBase- Returns:
- Map from annotation name to annotations.
-
getSolveOrder
int getSolveOrder()Returns the solve order of this calculation. Identifies which order calculations are expanded.- Returns:
- Solve order
-