Class JdbcSchema.Table

  • Enclosing class:
    JdbcSchema

    public class JdbcSchema.Table
    extends Object
    A table in a database.
    • Method Detail

      • flushUsages

        public void flushUsages()
        flushes all star usage references
      • getName

        public String getName()
        Returns the name of the table.
      • getTotalColumnSize

        public int getTotalColumnSize()
        Returns the total size of a row (sum of the column sizes).
      • getNumberOfRows

        public long getNumberOfRows()
        Returns the number of rows in the table.
      • constainsColumn

        public boolean constainsColumn​(String columnName)
        Return true if this table contains a column with the given name.
      • setTableUsageType

        public void setTableUsageType​(mondrian.rolap.aggmatcher.JdbcSchema.TableUsageType tableUsageType)
        Sets the table usage (fact, aggregate or other).
        Parameters:
        tableUsageType - Usage type
      • getTableUsageType

        public mondrian.rolap.aggmatcher.JdbcSchema.TableUsageType getTableUsageType()
        Returns the table's usage type.
      • getTableType

        public String getTableType()
        Returns the table's type.