Class Join

java.lang.Object
org.tentackle.dbms.dsl.Join
All Implemented Interfaces:
SqlElement

public class Join extends Object implements SqlElement
A joined table.
Author:
harald
  • Constructor Details

    • Join

      public Join(JoinType joinType, Table table, Condition condition)
      Creates a join.
      Parameters:
      joinType - the kind of join
      table - the joined table
      condition - the join condition
  • Method Details

    • getJoinType

      public JoinType getJoinType()
      Gets the kind of join.
      Returns:
      the join type
    • getTable

      public Table getTable()
      Gets the joined table.
      Returns:
      the table
    • getCondition

      public Condition getCondition()
      Gets the join condition.
      Returns:
      the condition
    • render

      public void render(RenderContext context)
      Description copied from interface: SqlElement
      Renders this element into the given context.
      Specified by:
      render in interface SqlElement
      Parameters:
      context - the render context