mondrian.rolap.aggmatcher
Class JdbcSchema.Table.Column.Usage

java.lang.Object
  extended by mondrian.rolap.aggmatcher.JdbcSchema.Table.Column.Usage
Enclosing class:
JdbcSchema.Table.Column

public class JdbcSchema.Table.Column.Usage
extends Object

A usage of a column.

 

Field Summary
 MondrianDef.Expression joinExp
           
 String levelColumnName
           
 RolapStar.Column rColumn
           
 MondrianDef.Relation relation
           
 String rightJoinConditionColumnName
           
 RolapStar.Measure rMeasure
           
 RolapStar.Table rTable
           
 String usagePrefix
           
 
Constructor Summary
JdbcSchema.Table.Column.Usage(JdbcSchema.UsageType usageType)
           
 
Method Summary
 RolapAggregator getAggregator()
          Get the aggregator associated with this usage (if its a measure usage, otherwise null).
 JdbcSchema.Table.Column getColumn()
          This is the column with which this usage is associated.
 String getSymbolicName()
          Get usage's symbolic name.
 JdbcSchema.UsageType getUsageType()
          The column usage type.
 void print(PrintWriter pw, String prefix)
           
 void setAggregator(RolapAggregator aggregator)
          Set the aggregator associated with this usage (if its a measure usage).
 void setSymbolicName(String symbolicName)
          Set the symbolic (logical) name associated with this usage.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rMeasure

public RolapStar.Measure rMeasure

relation

public MondrianDef.Relation relation

joinExp

public MondrianDef.Expression joinExp

levelColumnName

public String levelColumnName

rColumn

public RolapStar.Column rColumn

rTable

public RolapStar.Table rTable

rightJoinConditionColumnName

public String rightJoinConditionColumnName

usagePrefix

public String usagePrefix
Constructor Detail

JdbcSchema.Table.Column.Usage

JdbcSchema.Table.Column.Usage(JdbcSchema.UsageType usageType)
Method Detail

getColumn

public JdbcSchema.Table.Column getColumn()
This is the column with which this usage is associated.

Returns:
the usage's column.

getUsageType

public JdbcSchema.UsageType getUsageType()
The column usage type.


setSymbolicName

public void setSymbolicName(String symbolicName)
Set the symbolic (logical) name associated with this usage. For example, this might be the measure's name.

Parameters:
symbolicName -

getSymbolicName

public String getSymbolicName()
Get usage's symbolic name.


setAggregator

public void setAggregator(RolapAggregator aggregator)
Set the aggregator associated with this usage (if its a measure usage).

Parameters:
aggregator -

getAggregator

public RolapAggregator getAggregator()
Get the aggregator associated with this usage (if its a measure usage, otherwise null).


toString

public String toString()
Overrides:
toString in class Object

print

public void print(PrintWriter pw,
                  String prefix)

SourceForge.net_Logo