mondrian.rolap.aggmatcher
Class AggStar.Table.Column

java.lang.Object
  extended by mondrian.rolap.aggmatcher.AggStar.Table.Column
Direct Known Subclasses:
AggStar.FactTable.Measure, AggStar.Table.ForeignKey, AggStar.Table.Level
Enclosing class:
AggStar.Table

public class AggStar.Table.Column
extends Object

Base class for Level and Measure classes

 

Constructor Summary
protected AggStar.Table.Column(String name, MondrianDef.Expression expression, SqlQuery.Datatype datatype, int bitPosition)
           
 
Method Summary
 String generateExprString(SqlQuery query)
          Generates a SQL expression, which typically this looks like this: tableName.columnName.
 int getBitPosition()
          Get the bit possition associted with this column.
 SqlQuery.Datatype getDatatype()
          Returns the datatype of this column.
 MondrianDef.Expression getExpression()
           
 String getName()
          Get the name of the column (this is the name in the database).
 SqlQuery getSqlQuery()
           
 AggStar.Table getTable()
          Get the enclosing AggStar.Table.
 void print(PrintWriter pw, String prefix)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggStar.Table.Column

protected AggStar.Table.Column(String name,
                               MondrianDef.Expression expression,
                               SqlQuery.Datatype datatype,
                               int bitPosition)
Method Detail

getName

public String getName()
Get the name of the column (this is the name in the database).


getTable

public AggStar.Table getTable()
Get the enclosing AggStar.Table.


getBitPosition

public int getBitPosition()
Get the bit possition associted with this column. This has the same value as this column's RolapStar.Column.


getDatatype

public SqlQuery.Datatype getDatatype()
Returns the datatype of this column.


getSqlQuery

public SqlQuery getSqlQuery()

getExpression

public MondrianDef.Expression getExpression()

generateExprString

public String generateExprString(SqlQuery query)
Generates a SQL expression, which typically this looks like this: tableName.columnName.


toString

public String toString()
Overrides:
toString in class Object

print

public void print(PrintWriter pw,
                  String prefix)

SourceForge.net_Logo