public class FunctionQueryColumn extends QueryColumn implements HasParamsColumn
| Modifier and Type | Field and Description |
|---|---|
protected List<QueryColumn> |
columns |
protected String |
fnName |
alias, name, table| Constructor and Description |
|---|
FunctionQueryColumn(String fnName) |
FunctionQueryColumn(String fnName,
QueryColumn... columns) |
FunctionQueryColumn(String fnName,
String... columns) |
| Modifier and Type | Method and Description |
|---|---|
FunctionQueryColumn |
clone()
改写
Object.clone() 方法。 |
List<QueryColumn> |
getColumns() |
String |
getFnName() |
Object[] |
getParamValues() |
void |
setColumns(List<QueryColumn> columns) |
void |
setFnName(String fnName) |
protected String |
toConditionSql(List<QueryTable> queryTables,
IDialect dialect)
生成列用于构建查询条件的 SQL 语句。
|
String |
toSelectSql(List<QueryTable> queryTables,
IDialect dialect)
生成列用于构建查询列的 SQL 语句。
|
String |
toString() |
add, add, as, as, as, asc, between, between, between, between, between, between, desc, divide, divide, eq, eq, eq, eq, ge, ge, ge, ge, getAlias, getName, getTable, gt, gt, gt, gt, in, in, in, in, in, in, in, in, in, in, in, isNotNull, isNull, le, le, le, le, like, like, like, like, likeLeft, likeLeft, likeLeft, likeLeft, likeRaw, likeRaw, likeRaw, likeRaw, likeRight, likeRight, likeRight, likeRight, lt, lt, lt, lt, multiply, multiply, ne, ne, ne, ne, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, notLike, notLike, notLikeLeft, notLikeLeft, notLikeLeft, notLikeLeft, notLikeRaw, notLikeRaw, notLikeRaw, notLikeRaw, notLikeRight, notLikeRight, notLikeRight, notLikeRight, setAlias, setName, setTable, subtract, subtractequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisNotNull, isNotNull, isNull, isNullprotected String fnName
protected List<QueryColumn> columns
public FunctionQueryColumn(String fnName)
public FunctionQueryColumn(String fnName, QueryColumn... columns)
public String getFnName()
public void setFnName(String fnName)
public List<QueryColumn> getColumns()
public void setColumns(List<QueryColumn> columns)
public Object[] getParamValues()
getParamValues in interface HasParamsColumnpublic String toSelectSql(List<QueryTable> queryTables, IDialect dialect)
QueryColumntoSelectSql in class QueryColumnqueryTables - 查询表dialect - 方言protected String toConditionSql(List<QueryTable> queryTables, IDialect dialect)
QueryColumntoConditionSql in class QueryColumnqueryTables - 查询表dialect - 方言public String toString()
toString in class QueryColumnpublic FunctionQueryColumn clone()
CloneSupportObject.clone() 方法。clone in interface CloneSupport<QueryColumn>clone in class QueryColumnCopyright © 2024. All rights reserved.