public class IfFunctionQueryColumn extends QueryColumn implements HasParamsColumn
| 限定符和类型 | 字段和说明 |
|---|---|
private QueryCondition |
condition |
private QueryColumn |
falseValue |
private QueryColumn |
trueValue |
alias, name, table| 构造器和说明 |
|---|
IfFunctionQueryColumn(QueryCondition condition,
QueryColumn trueValue,
QueryColumn falseValue) |
| 限定符和类型 | 方法和说明 |
|---|---|
IfFunctionQueryColumn |
clone()
改写
Object.clone() 方法。 |
Object[] |
getParamValues() |
protected String |
toConditionSql(List<QueryTable> queryTables,
IDialect dialect)
生成列用于构建查询条件的 SQL 语句。
|
add, add, as, as, as, asc, between_, between_, between, between, between, between, between, between, desc, divide, divide, eq_, eq, eq, eq, eq, ge_, ge, ge, ge, ge, getAlias, getName, getSelectTable, getTable, gt_, gt, gt, gt, gt, in_, in_, in_, in, in, in, in, in, in, in, in, in, in, in, isNotNull, isNull, le_, le, le, le, le, like_, like, like, like, like, likeLeft_, likeLeft, likeLeft, likeLeft, likeLeft, likeRaw_, likeRaw, likeRaw, likeRaw, likeRaw, likeRight_, likeRight, likeRight, likeRight, likeRight, lt_, lt, lt, lt, lt, multiply, multiply, ne_, ne, ne, ne, ne, notBetween_, notBetween_, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notIn_, notIn_, notIn_, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notLike_, notLike, notLike, notLike, notLike, notLikeLeft_, notLikeLeft, notLikeLeft, notLikeLeft, notLikeLeft, notLikeRaw_, notLikeRaw, notLikeRaw, notLikeRaw, notLikeRaw, notLikeRight_, notLikeRight, notLikeRight, notLikeRight, notLikeRight, setAlias, setName, setTable, subtract, subtract, toSelectSql, toStringisNotNull, isNotNull, isNull, isNullprivate QueryCondition condition
private QueryColumn trueValue
private QueryColumn falseValue
public IfFunctionQueryColumn(QueryCondition condition, QueryColumn trueValue, QueryColumn falseValue)
protected String toConditionSql(List<QueryTable> queryTables, IDialect dialect)
QueryColumntoConditionSql 在类中 QueryColumnqueryTables - 查询表dialect - 方言public Object[] getParamValues()
getParamValues 在接口中 HasParamsColumnpublic IfFunctionQueryColumn clone()
CloneSupportObject.clone() 方法。clone 在接口中 CloneSupport<QueryColumn>clone 在类中 QueryColumnCopyright © 2025. All rights reserved.