Interface Relation

All Superinterfaces:
Sql
All Known Implementing Classes:
Table, TableSubquery

public interface Relation extends Sql
Defines a table of columns and rows, whether a permanent database table or a temporary table (the result of a subquery).
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the table alias specified for this relation.
    as(String alias)
    Specifies the table alias name of this relation.

    Methods inherited from interface io.github.torand.fastersql.sql.Sql

    aliasRefs, columnRefs, params, sql
  • Method Details

    • as

      Relation as(String alias)
      Specifies the table alias name of this relation.
      Parameters:
      alias - the table alias name.
      Returns:
      the modified relation.
    • alias

      TableAlias alias()
      Gets the table alias specified for this relation.
      Returns:
      the table alias.