mondrian.rolap
Class RolapBaseCubeMeasure
java.lang.Object
mondrian.olap.OlapElementBase
mondrian.olap.MemberBase
mondrian.rolap.RolapMember
mondrian.rolap.RolapBaseCubeMeasure
- All Implemented Interfaces:
- Comparable, Member, OlapElement, RolapMeasure, RolapStoredMeasure
public class RolapBaseCubeMeasure
- extends RolapMember
- implements RolapStoredMeasure
Measure which is computed from a SQL column (or expression) and which is
defined in a non-virtual cube.
- Since:
- 24 August, 2006
- Author:
- jhyde
- See Also:
RolapVirtualCubeMeasure
-
-
Methods inherited from class mondrian.rolap.RolapMember |
childLevelHasApproxRowCount, compareTo, equals, equals, getAllMembers, getDepth, getHierarchy, getHierarchyCardinality, getKey, getLevel, getLogger, getName, getOrderKey, getOrdinal, getParentMember, getProperties, getPropertyFormattedValue, getPropertyFromMap, getPropertyValue, getPropertyValue, hashCode, isAllMember, isCalculatedInQuery, isHidden, keyToString, makeUniqueName, setName, setOrderKey, setOrdinal, setOrdinals, setParentMember, setProperty, setUniqueName |
Methods inherited from class mondrian.olap.MemberBase |
computeCalculated, getAncestorMembers, getCaption, getDataMember, getDescription, getDimension, getExpression, getMemberType, getParentUniqueName, getQualifiedName, getSolveOrder, getUniqueName, isAll, isCalculated, isChildOrEqualTo, isChildOrEqualTo, isMeasure, isNull, lookupChild, lookupChild |
Methods inherited from interface mondrian.olap.Member |
getAncestorMembers, getDataMember, getDepth, getExpression, getHierarchy, getLevel, getMemberType, getOrderKey, getOrdinal, getParentMember, getParentUniqueName, getProperties, getPropertyFormattedValue, getPropertyValue, getPropertyValue, getSolveOrder, isAll, isCalculated, isCalculatedInQuery, isChildOrEqualTo, isHidden, isMeasure, isNull, setName, setProperty |
RolapBaseCubeMeasure
RolapBaseCubeMeasure(RolapCube cube,
RolapMember parentMember,
RolapLevel level,
String name,
String formatString,
MondrianDef.Expression expression,
String aggregatorName,
String datatype)
getMondrianDefExpression
public MondrianDef.Expression getMondrianDefExpression()
- Description copied from interface:
RolapStoredMeasure
- Returns the column which holds the value of the measure.
- Specified by:
getMondrianDefExpression
in interface RolapStoredMeasure
getAggregator
public RolapAggregator getAggregator()
- Description copied from interface:
RolapStoredMeasure
- Returns the aggregation function which rolls up this measure: "SUM",
"COUNT", etc.
- Specified by:
getAggregator
in interface RolapStoredMeasure
getCube
public RolapCube getCube()
- Description copied from interface:
RolapStoredMeasure
- Returns the cube this measure belongs to.
- Specified by:
getCube
in interface RolapStoredMeasure
getFormatter
public CellFormatter 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 interface RolapMeasure
- Returns:
- formatter
setFormatter
public void setFormatter(CellFormatter formatter)
getStarMeasure
public Object getStarMeasure()
- Description copied from interface:
RolapStoredMeasure
- Returns the
RolapStar.Measure
from which this
member is computed. Untyped, because another implementation might store
it somewhere else.
- Specified by:
getStarMeasure
in interface RolapStoredMeasure
setStarMeasure
void setStarMeasure(Object starMeasure)
getDatatype
public SqlQuery.Datatype getDatatype()