Package io.zero88.rsql.criteria
Interface CriteriaBuilder<N extends cz.jirutka.rsql.parser.ast.Node,C extends RSQLContext,P>
- Type Parameters:
N- Type of AST nodeC- Type of RSQL contextP- Type of SQL predicate
- All Known Subinterfaces:
ComparisonCriteriaBuilder<T,,C, P> JooqCriteriaBuilder<N>,JooqLogicalCriteriaBuilder<T>
- All Known Implementing Classes:
AbstractCriteriaBuilder,AndNodeCriteriaBuilder,BetweenBuilder,ContainsBuilder,EndsWithBuilder,EqualBuilder,ExistsBuilder,GreaterThanBuilder,GreaterThanOrEqualBuilder,InBuilder,JooqComparisonCriteriaBuilder,LessThanBuilder,LessThanOrEqualBuilder,LikeBuilder,NonExistsBuilder,NotEqualBuilder,NotInBuilder,NotLikeBuilder,NullableBuilder,OrNodeCriteriaBuilder,StartsWithBuilder
public interface CriteriaBuilder<N extends cz.jirutka.rsql.parser.ast.Node,C extends RSQLContext,P>
The builder builds a SQL predicate that can be used in a variety of SQL clauses, they're mainly used in a
Select statement's WHERE clause- Since:
- 1.0.0
- See Also:
-
NodeRSQLContext
-
Method Summary
-
Method Details
-
node
Represents for current AST node.- Returns:
- the AST node
- Since:
- 1.0.0
- See Also:
-
Node
-
build
Build a SQL predicate.- Parameters:
context- the rsql context- Returns:
- the condition
- Since:
- 1.0.0
-