Interface SetOperationBuilder<X,​Y extends StartOngoingSetOperationBuilder<?,​?,​?>>

Type Parameters:
X - The concrete builder type
Y - The builder type for connecting a nested query
All Known Subinterfaces:
BaseOngoingSetOperationBuilder<X,​Y,​Z>, CriteriaBuilder<T>, FullSelectCTECriteriaBuilder<X>, LeafOngoingFinalSetOperationCriteriaBuilder<X>, LeafOngoingFinalSetOperationCTECriteriaBuilder<X>, LeafOngoingFinalSetOperationSubqueryBuilder<X>, LeafOngoingSetOperationCriteriaBuilder<X>, LeafOngoingSetOperationCTECriteriaBuilder<X>, LeafOngoingSetOperationSubqueryBuilder<X>, MiddleOngoingSetOperationCriteriaBuilder<T,​Y>, MiddleOngoingSetOperationCTECriteriaBuilder<T,​Y>, MiddleOngoingSetOperationSubqueryBuilder<T,​Y>, OngoingSetOperationBuilder<X,​Y,​Z>, OngoingSetOperationCriteriaBuilder<T,​Y>, OngoingSetOperationCTECriteriaBuilder<T,​Y>, OngoingSetOperationSubqueryBuilder<T,​Y>, StartOngoingSetOperationBuilder<X,​Y,​Z>, StartOngoingSetOperationCriteriaBuilder<X,​Y>, StartOngoingSetOperationCTECriteriaBuilder<X,​Y>, StartOngoingSetOperationSubqueryBuilder<X,​Y>, SubqueryBuilder<T>

public interface SetOperationBuilder<X,​Y extends StartOngoingSetOperationBuilder<?,​?,​?>>
An interface for builders that support set operators.
Since:
1.1.0
Author:
Christian Beikov
  • Method Summary

    Modifier and Type Method Description
    X except()
    Connects this query with the except operator with query following after this call.
    X exceptAll()
    Connects this query with the except all operator with query following after this call.
    X intersect()
    Connects this query with the intersect operator with query following after this call.
    X intersectAll()
    Connects this query with the intersect all operator with query following after this call.
    Y startExcept()
    Connects this query with the except operator with subquery following after this call.
    Y startExceptAll()
    Connects this query with the except all operator with subquery following after this call.
    Y startIntersect()
    Connects this query with the intersect operator with subquery following after this call.
    Y startIntersectAll()
    Connects this query with the intersect all operator with subquery following after this call.
    Y startUnion()
    Connects this query with the union operator with subquery following after this call.
    Y startUnionAll()
    Connects this query with the union all operator with subquery following after this call.
    X union()
    Connects this query with the union operator with query following after this call.
    X unionAll()
    Connects this query with the union all operator with query following after this call.
  • Method Details

    • union

      X union()
      Connects this query with the union operator with query following after this call.
      Returns:
      The query builder that should be connected via union
    • unionAll

      X unionAll()
      Connects this query with the union all operator with query following after this call.
      Returns:
      The query builder that should be connected via union
    • intersect

      X intersect()
      Connects this query with the intersect operator with query following after this call.
      Returns:
      The query builder that should be connected via union
    • intersectAll

      X intersectAll()
      Connects this query with the intersect all operator with query following after this call.
      Returns:
      The query builder that should be connected via union
    • except

      X except()
      Connects this query with the except operator with query following after this call.
      Returns:
      The query builder that should be connected via union
    • exceptAll

      X exceptAll()
      Connects this query with the except all operator with query following after this call.
      Returns:
      The query builder that should be connected via union
    • startUnion

      Y startUnion()
      Connects this query with the union operator with subquery following after this call.
      Returns:
      The query builder that should be connected via union
    • startUnionAll

      Y startUnionAll()
      Connects this query with the union all operator with subquery following after this call.
      Returns:
      The query builder that should be connected via union
    • startIntersect

      Y startIntersect()
      Connects this query with the intersect operator with subquery following after this call.
      Returns:
      The query builder that should be connected via union
    • startIntersectAll

      Y startIntersectAll()
      Connects this query with the intersect all operator with subquery following after this call.
      Returns:
      The query builder that should be connected via union
    • startExcept

      Y startExcept()
      Connects this query with the except operator with subquery following after this call.
      Returns:
      The query builder that should be connected via union
    • startExceptAll

      Y startExceptAll()
      Connects this query with the except all operator with subquery following after this call.
      Returns:
      The query builder that should be connected via union