Package mondrian.rolap.aggmatcher
Class AggStar.FactTable.Measure
- java.lang.Object
-
- mondrian.rolap.aggmatcher.AggStar.Table.Column
-
- mondrian.rolap.aggmatcher.AggStar.FactTable.Measure
-
- Enclosing class:
- AggStar.FactTable
public class AggStar.FactTable.Measure extends AggStar.Table.Column
This is a Column that is a Measure (contains an aggregator).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateExprString(SqlQuery query)
Generates a SQL expression, which typically this looks like this:tableName.columnName
.String
generateRollupString(SqlQuery query)
RolapAggregator
getAggregator()
Get this Measure's RolapAggregator.BitKey
getRollableLevelBitKey()
Returns aBitKey
of the levels which can be safely rolled up.boolean
isDistinct()
void
print(PrintWriter pw, String prefix)
-
Methods inherited from class mondrian.rolap.aggmatcher.AggStar.Table.Column
getBitPosition, getDatatype, getExpression, getInternalType, getName, getSqlQuery, getTable, toString
-
-
-
-
Method Detail
-
isDistinct
public boolean isDistinct()
-
getAggregator
public RolapAggregator getAggregator()
Get this Measure's RolapAggregator.
-
getRollableLevelBitKey
public BitKey getRollableLevelBitKey()
Returns aBitKey
of the levels which can be safely rolled up. (For distinct-count measures, most can't.)
-
print
public void print(PrintWriter pw, String prefix)
- Overrides:
print
in classAggStar.Table.Column
-
generateExprString
public String generateExprString(SqlQuery query)
Description copied from class:AggStar.Table.Column
Generates a SQL expression, which typically this looks like this:tableName.columnName
.- Overrides:
generateExprString
in classAggStar.Table.Column
-
-