Interface HavingBuilder<T extends HavingBuilder<T>>

    • Method Detail

      • havingOr

        HavingOrBuilder<T> havingOr()
        Starts a HavingOrBuilder 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
      • setHavingExpression

        T setHavingExpression​(String expression)
        Sets the given expression as expression for the having clause.
        Parameters:
        expression - The having expression
        Returns:
        The builder
        Since:
        1.2.0
      • setHavingExpressionSubqueries

        MultipleSubqueryInitiator<T> setHavingExpressionSubqueries​(String expression)
        Starts a MultipleSubqueryInitiator for expression of the having 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 having clause.

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