mondrian.rolap
Class RolapStar.Measure

java.lang.Object
  extended by mondrian.rolap.RolapStar.Column
      extended by mondrian.rolap.RolapStar.Measure
Enclosing class:
RolapStar

public static class RolapStar.Measure
extends RolapStar.Column

Definition of a measure in a star schema.

A measure is basically just a column; except that its aggregator defines how it is to be rolled up.

 

Constructor Summary
RolapStar.Measure(String name, String cubeName, RolapAggregator aggregator, RolapStar.Table table, MondrianDef.Expression expression, SqlQuery.Datatype datatype)
           
 
Method Summary
 boolean equals(Object o)
           
 RolapAggregator getAggregator()
           
 String getCubeName()
           
 int hashCode()
           
 void print(PrintWriter pw, String prefix)
          Prints this column.
 
Methods inherited from class mondrian.rolap.RolapStar.Column
createInExpr, generateExprString, getBitPosition, getCardinality, getDatatype, getDatatypeString, getExpression, getName, getNameColumn, getParentColumn, getSqlQuery, getStar, getTable, getUsagePrefix, isNameColumn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RolapStar.Measure

public RolapStar.Measure(String name,
                         String cubeName,
                         RolapAggregator aggregator,
                         RolapStar.Table table,
                         MondrianDef.Expression expression,
                         SqlQuery.Datatype datatype)
Method Detail

getAggregator

public RolapAggregator getAggregator()

equals

public boolean equals(Object o)
Overrides:
equals in class RolapStar.Column

hashCode

public int hashCode()
Overrides:
hashCode in class RolapStar.Column

print

public void print(PrintWriter pw,
                  String prefix)
Description copied from class: RolapStar.Column
Prints this column.

Overrides:
print in class RolapStar.Column
Parameters:
pw - Print writer
prefix - Prefix to print first, such as spaces for indentation

getCubeName

public String getCubeName()

SourceForge.net_Logo