-
public final class QueryBinary extends Query
查询dsl使用的二元运算类型,用于装入ast包的sql语法树中
-
-
Constructor Summary
Constructors Constructor Description QueryBinary(Query left, SqlBinaryOperator operator, Query right, String alias)
-
Method Summary
Modifier and Type Method Description final QuerygetLeft()final SqlBinaryOperatorgetOperator()final QuerygetRight()StringgetAlias()UnitsetAlias(String alias)final <T extends Any> CaseBranch<T>then(T then)用于生成CASE WHEN匹配分支 例如:column("c1") eq "xxx" then 1 -
Methods inherited from class dsl.QueryBinary
alias, and, asc, between, desc, div, div, eq, eq, eq, ge, ge, ge, gt, gt, gt, inList, inList, isNotNull, isNull, json, json, jsonText, jsonText, le, le, le, like, like, lt, lt, lt, minus, minus, ne, ne, ne, notBetween, notInList, notInList, notLike, notLike, or, plus, plus, rem, rem, times, times, xor -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
QueryBinary
QueryBinary(Query left, SqlBinaryOperator operator, Query right, String alias)
-
-
Method Detail
-
getOperator
final SqlBinaryOperator getOperator()
-
then
final <T extends Any> CaseBranch<T> then(T then)
用于生成CASE WHEN匹配分支 例如:column("c1") eq "xxx" then 1
- Parameters:
then- T 合法的类型有Number、String、Date、List、Boolean以及null和Query表达式类型
-
-
-
-