Class SqlJoinClause<ReturnType>

java.lang.Object
org.litebridge.orm.api.select.impl.AbstractJoinClause<ReturnType,SqlJoinConditionClause<ReturnType>,SqlJoinConditionClauseTerminal<ReturnType>,SqlQueryConditionBuilder<ReturnType>>
org.litebridge.orm.api.select.sql.SqlJoinClause<ReturnType>
All Implemented Interfaces:
JoinClause<ReturnType,SqlJoinConditionClause<ReturnType>,SqlJoinConditionClauseTerminal<ReturnType>,SqlQueryConditionBuilder<ReturnType>>

public final class SqlJoinClause<ReturnType> extends AbstractJoinClause<ReturnType,SqlJoinConditionClause<ReturnType>,SqlJoinConditionClauseTerminal<ReturnType>,SqlQueryConditionBuilder<ReturnType>>
Represents a JOIN clause in a SQL-based query.
  • Constructor Details

  • Method Details

    • on

      Adds a join ON condition to the current join clause based on the specified column.
      Parameters:
      column - the name of the column to be used in the join condition
      Returns:
      an instance of the join condition clause to allow further configuration
    • on

      Adds a join ON condition based on a query expression.
      Parameters:
      expression - the expression to use for the join condition
      Returns:
      an instance of the join condition clause to allow further configuration
    • using

      Adds a join USING condition to the current join clause using the specified column. This method simplifies the join condition by specifying a single column that is shared between two tables in the join.
      Parameters:
      column - the name of the column to be used for the join condition
      Returns:
      an instance of the terminal join condition clause to finalize the join conditions