Class JdbcSchema.Table.Column.Usage

  • Enclosing class:
    JdbcSchema.Table.Column

    public class JdbcSchema.Table.Column.Usage
    extends java.lang.Object
    A usage of a column.
    • Constructor Detail

      • Usage

        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.
      • setSymbolicName

        public void setSymbolicName​(java.lang.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 java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • print

        public void print​(java.io.PrintWriter pw,
                          java.lang.String prefix)