Interface WhereOrBuilder<T>

  • Type Parameters:
    T - The builder type that is returned on terminal operations
    All Superinterfaces:
    BaseWhereBuilder<WhereOrBuilder<T>>

    public interface WhereOrBuilder<T>
    extends BaseWhereBuilder<WhereOrBuilder<T>>
    The builder interface for a where predicate container that connects predicates with the OR operator.
    Since:
    1.0.0
    Author:
    Christian Beikov
    • Method Detail

      • endOr

        T endOr()
        Finishes the OR predicate and adds it to the parent predicate container represented by the type T.
        Returns:
        The parent predicate container builder
      • whereAnd

        WhereAndBuilder<WhereOrBuilder<T>> whereAnd()
        Starts a where and builder which connects it's predicates with the AND operator. When the builder finishes, the predicate is added to this predicate container as disjunct.
        Returns:
        The where and builder