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 Details

    • 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)
    • print

      public void print(PrintWriter pw, String prefix)
      Overrides:
      print in class AggStar.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 class AggStar.Table.Column