Interface MultipleSubqueryInitiator<T>

  • Type Parameters:
    T - The builder type that is returned on terminal operations

    public interface MultipleSubqueryInitiator<T>
    An interface used to create subquery builders for expressions with multiple subqueries.
    Since:
    1.2.0
    Author:
    Christian Beikov
    • Method Detail

      • getParentQueryBuilder

        CommonQueryBuilder<?> getParentQueryBuilder()
        Returns the parent query builder.
        Returns:
        The parent query builder
        Since:
        1.3.0
      • with

        SubqueryBuilder<MultipleSubqueryInitiator<T>> with​(String subqueryAlias,
                                                           FullQueryBuilder<?,​?> criteriaBuilder)
        Starts a SubqueryBuilder based on the given criteria builder for the given subquery alias.
        Parameters:
        subqueryAlias - The alias for the subquery which will be replaced by the actual subquery
        criteriaBuilder - The criteria builder to base the subquery on
        Returns:
        The subquery builder for building a subquery
      • end

        T end()
        Finishes the subquery builder.
        Returns:
        The parent query builder