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 StringgenerateExprString(SqlQuery query)Generates a SQL expression, which typically this looks like this:tableName.columnName.StringgenerateRollupString(SqlQuery query)RolapAggregatorgetAggregator()Get this Measure's RolapAggregator.BitKeygetRollableLevelBitKey()Returns aBitKeyof the levels which can be safely rolled up.booleanisDistinct()voidprint(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 aBitKeyof the levels which can be safely rolled up. (For distinct-count measures, most can't.) 
- 
print
public void print(PrintWriter pw, String prefix)
- Overrides:
 printin classAggStar.Table.Column
 
- 
generateExprString
public String generateExprString(SqlQuery query)
Description copied from class:AggStar.Table.ColumnGenerates a SQL expression, which typically this looks like this:tableName.columnName.- Overrides:
 generateExprStringin classAggStar.Table.Column
 
 - 
 
 -