Package com.blazebit.persistence
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 Summary
Modifier and Type Method Description T
endOr()
Finishes the OR predicate and adds it to the parent predicate container represented by the typeT
.WhereAndBuilder<WhereOrBuilder<T>>
whereAnd()
Starts a where and builder which connects it's predicates with the AND operator.Methods inherited from interface com.blazebit.persistence.BaseWhereBuilder
where, whereCase, whereExists, whereExists, whereExpression, whereExpressionSubqueries, whereNotExists, whereNotExists, whereSimpleCase, whereSubqueries, whereSubquery, whereSubquery, whereSubquery, whereSubquery
-
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
-
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
-