-
-
Field Summary
Fields Modifier and Type Field Description private final List<CaseBranch<T>>conditionsprivate final Tdefaultprivate Stringalias
-
Method Summary
Modifier and Type Method Description final List<CaseBranch<T>>getConditions()final TgetDefault()StringgetAlias()UnitsetAlias(String alias)final QueryCase<T>elseIs(T value)用于生成CASE WHEN表达式 -
Methods inherited from class dsl.QueryCase
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
-
QueryCase
QueryCase(List<CaseBranch<T>> conditions, T default, String alias)
-
-
Method Detail
-
getConditions
final List<CaseBranch<T>> getConditions()
-
getDefault
final T getDefault()
-
-
-
-