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
          The prefix (possibly null) to use during aggregate table generation (See AggGen).
 
Constructor Summary
JdbcSchema.Table.Column.Usage(JdbcSchema.UsageType usageType)
          Creates a Usage.
 
Method Summary
 RolapAggregator getAggregator()
          Returns the aggregator associated with this usage (if its a measure usage, otherwise null).
 JdbcSchema.Table.Column getColumn()
          Returns the column with which this usage is associated.
 String getSymbolicName()
          Returns the usage's symbolic name.
 JdbcSchema.UsageType getUsageType()
          Returns the column usage type.
 void print(PrintWriter pw, String prefix)
           
 void setAggregator(RolapAggregator aggregator)
          Sets the aggregator associated with this usage (if it is a measure usage).
 void setSymbolicName(String symbolicName)
          Sets 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
The prefix (possibly null) to use during aggregate table generation (See AggGen).

Constructor Detail

JdbcSchema.Table.Column.Usage

JdbcSchema.Table.Column.Usage(JdbcSchema.UsageType usageType)
Creates a Usage.

Parameters:
usageType - Usage type
Method Detail

getColumn

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

Returns:
the usage's column.

getUsageType

public JdbcSchema.UsageType getUsageType()
Returns the column usage type.


setSymbolicName

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

Parameters:
symbolicName - Symbolic name

getSymbolicName

public String getSymbolicName()
Returns the usage's symbolic name.


setAggregator

public void setAggregator(RolapAggregator aggregator)
Sets the aggregator associated with this usage (if it is a measure usage).

Parameters:
aggregator - Aggregator

getAggregator

public RolapAggregator getAggregator()
Returns 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)

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads