Interface JoinOnBuilder<T>

Type Parameters:
T - The result type
All Superinterfaces:
BaseJoinOnBuilder<JoinOnBuilder<T>>

public interface JoinOnBuilder<T>
extends BaseJoinOnBuilder<JoinOnBuilder<T>>
An interface for builders that support join on. This is related to the fact, that a query builder supports join on clauses.
Since:
1.0.0
Author:
Christian Beikov
  • Method Details

    • onOr

      Starts a JoinOnOrBuilder which is a predicate consisting only of disjunctiv connected predicates. When the builder finishes, the predicate is added to the parent predicate container represented by the type T.
      Returns:
      The or predicate builder for the having clause
    • end

      T end()
      Finishes the ON clause and adds it to the parent predicate container represented by the type T.
      Returns:
      The parent predicate container builder
    • setOnExpression

      T setOnExpression​(String expression)
      Sets the given expression as expression for the on clause.
      Parameters:
      expression - The on expression
      Returns:
      The builder
      Since:
      1.2.0
    • setOnExpressionSubqueries

      MultipleSubqueryInitiator<T> setOnExpressionSubqueries​(String expression)
      Starts a MultipleSubqueryInitiator for expression of the on clause.

      All occurrences of subsequently defined subqueryAliases in expression will be replaced by the respective subquery. When the builder finishes, the resulting expression is used as expression for the on clause.

      Parameters:
      expression - The on expression
      Returns:
      The subquery initiator for building multiple subqueries for their respective subqueryAliases
      Since:
      1.2.0