Package com.blazebit.persistence
Interface PredicateOrBuilder<T>
- Type Parameters:
T
- The builder type that is returned on terminal operations
- All Superinterfaces:
BasePredicateBuilder<PredicateOrBuilder<T>>
The builder interface for a where predicate container that connects predicates with the OR operator.
- Since:
- 1.6.8
- Author:
- Christian Beikov
-
Method Summary
Methods inherited from interface com.blazebit.persistence.BasePredicateBuilder
exists, exists, expression, notExists, notExists, selectCase, selectCase, subqueries, subquery, subquery, subquery, subquery, withExpression, withExpressionSubqueries
-
Method Details
-
endOr
T endOr()Finishes the OR predicate and adds it to the parent predicate container represented by the typeT
.- Returns:
- The parent predicate container builder
-
and
PredicateAndBuilder<PredicateOrBuilder<T>> and()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
-