Interface Nested<Param,Children>
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DeleteJoinWrapper,JoinAbstractLambdaWrapper,JoinAbstractWrapper,MPJLambdaWrapper,UpdateJoinWrapper
查询条件封装
泛型 Param 是具体需要运行函数的类(也是 wrapper 的子类)
嵌套
- Since:
- 2017-05-26
- Author:
- hubin miemie HCL
-
Method Details
-
and
AND 嵌套例: and(i -> i.eq("name", "李白").ne("status", "活着"))
- Parameters:
consumer- 消费函数- Returns:
- children
-
and
AND 嵌套例: and(i -> i.eq("name", "李白").ne("status", "活着"))
- Parameters:
condition- 执行条件consumer- 消费函数- Returns:
- children
-
or
OR 嵌套例: or(i -> i.eq("name", "李白").ne("status", "活着"))
- Parameters:
consumer- 消费函数- Returns:
- children
-
or
OR 嵌套例: or(i -> i.eq("name", "李白").ne("status", "活着"))
- Parameters:
condition- 执行条件consumer- 消费函数- Returns:
- children
-
nested
正常嵌套 不带 AND 或者 OR例: nested(i -> i.eq("name", "李白").ne("status", "活着"))
- Parameters:
consumer- 消费函数- Returns:
- children
-
nested
正常嵌套 不带 AND 或者 OR例: nested(i -> i.eq("name", "李白").ne("status", "活着"))
- Parameters:
condition- 执行条件consumer- 消费函数- Returns:
- children
-
not
not嵌套例: not(i -> i.eq("name", "李白").ne("status", "活着"))
- Parameters:
consumer- 消费函数- Returns:
- children
-
not
not嵌套例: not(i -> i.eq("name", "李白").ne("status", "活着"))
- Parameters:
condition- 执行条件consumer- 消费函数- Returns:
- children
-