mondrian.rolap.aggmatcher
Class AggStar.FactTable.Measure

java.lang.Object
  extended by mondrian.rolap.aggmatcher.AggStar.Table.Column
      extended by 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
 String generateRollupString(SqlQuery query)
          Generates an expression to rollup this measure from a previous result.
 RolapAggregator getAggregator()
          Get this Measure's RolapAggregator.
 BitKey getRollableLevelBitKey()
          Returns a BitKey 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
generateExprString, getBitPosition, getDatatype, getExpression, getName, getSqlQuery, getTable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isDistinct

public boolean isDistinct()

getAggregator

public RolapAggregator getAggregator()
Get this Measure's RolapAggregator.


getRollableLevelBitKey

public BitKey getRollableLevelBitKey()
Returns a BitKey of the levels which can be safely rolled up. (For distinct-count measures, most can't.)


generateRollupString

public String generateRollupString(SqlQuery query)
Generates an expression to rollup this measure from a previous result. For example, a "COUNT" and "DISTINCT COUNT" measures rollup using "SUM".


print

public void print(PrintWriter pw,
                  String prefix)
Overrides:
print in class AggStar.Table.Column

SourceForge.net_Logo