Package com.blazebit.persistence
Interface WhereAndBuilder<T>
- Type Parameters:
T
- The builder type that is returned on terminal operations
- All Superinterfaces:
BaseWhereBuilder<WhereAndBuilder<T>>
public interface WhereAndBuilder<T> extends BaseWhereBuilder<WhereAndBuilder<T>>
The builder interface for a where predicate container that connects predicates with the AND operator.
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description T
endAnd()
Finishes the AND predicate and adds it to the parent predicate container represented by the typeT
.WhereOrBuilder<WhereAndBuilder<T>>
whereOr()
Starts a where or builder which connects it's predicates with the OR 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
-
endAnd
T endAnd()Finishes the AND predicate and adds it to the parent predicate container represented by the typeT
.- Returns:
- The parent predicate container builder
-
whereOr
WhereOrBuilder<WhereAndBuilder<T>> whereOr()Starts a where or builder which connects it's predicates with the OR operator. When the builder finishes, the predicate is added to this predicate container as conjunct.- Returns:
- The where or builder
-