Class RealTable

    • Field Detail

      • REPORTERS

        public static final RealTable REPORTERS
      • REPORTER_LIST_SCORES

        public static final RealTable REPORTER_LIST_SCORES
      • RAWBIOASSAYS

        public static final RealTable RAWBIOASSAYS
        Since:
        3.9
      • tableName

        private final String tableName
        The unquoted table name.
      • alias

        private final String alias
        The alias to use in queries for this table.
    • Constructor Detail

      • RealTable

        RealTable​(String tableName,
                  String alias)
        Creates a new table.
        Parameters:
        tableName - The name of the table
        alias - The alias of the table used in queries
    • Method Detail

      • getTableName

        public String getTableName()
        Get the unquoted table name of this table in the database.
      • getQualifiedTableName

        public String getQualifiedTableName()
        Get the quoted table name of this table in the database.
      • getAlias

        public String getAlias()
        Get the alias of this table. Used in queries: SELECT ... FROM table AS alias ...
      • getAlias

        public String getAlias​(BasicItem item)
        Get the alias of this table, using the ID of the item to make it unique. Used in queries: SELECT ... FROM table AS alias ...
      • getAlias

        public String getAlias​(int id)
        Get the alias of this table, using the ID of the item to make it unique. Used in queries: SELECT ... FROM table AS alias ...
        Since:
        2.8