Interface SQLTableRef


public interface SQLTableRef
A table occurrence in a statement, optionally carrying a SQL table alias.
Since:
4.15
Author:
Eike Stepper
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.
  • Method Summary

    Modifier and Type
    Method
    Description
    column(IDBField column)
    Refers to a column through this table occurrence.
    Returns the SQL alias, or null when this occurrence is unaliased.
    Returns the schema table represented by this occurrence.
  • Method Details

    • getTable

      IDBTable getTable()
      Returns the schema table represented by this occurrence.
      Returns:
      the referenced schema table
    • getAlias

      String getAlias()
      Returns the SQL alias, or null when this occurrence is unaliased.
      Returns:
      the table alias
    • column

      SQLColumnRef column(IDBField column)
      Refers to a column through this table occurrence. The field must belong to the referenced schema table; compilation qualifies the column with this occurrence's alias, when present.
      Parameters:
      column - a column belonging to the referenced table
      Returns:
      a qualified column reference