public class AggregateColumn extends Object implements IColumn, IColumnOrderBySupport, IColumnCriteriaItemSupport
| 构造器和说明 |
|---|
AggregateColumn(String functionName,
IColumn[] columns,
String nameAs)
构造函数
|
AggregateColumn(String functionName,
IColumn[] columns,
String nameAs,
boolean distinct)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
IColumn |
getColumn()
获取列
|
IColumn[] |
getColumns()
Gets the value of columns
|
String |
getFunctionName()
Gets the value of functionName
|
String |
getName()
获取列名称
|
String |
getNameAs()
获取列后面的`as`名称
|
String |
getNameWithTableAlias()
获取带表别名的列名称
|
int |
hashCode() |
boolean |
isDistinct()
Gets the value of distinct
|
void |
setColumns(IColumn[] columns)
Sets the columns
You can use getColumns() to get the value of columns
|
void |
setDistinct(boolean distinct)
Sets the distinct
You can use getDistinct() to get the value of distinct
|
void |
setFunctionName(String functionName)
Sets the functionName
You can use getFunctionName() to get the value of functionName
|
void |
setNameAs(String nameAs)
Sets the nameAs
You can use getNameAs() to get the value of nameAs
|
String |
toString() |
getCompareColumnName, getSelectColumnName, valuecustomerOrderBy, customerOrderBy, orderBy, orderBypublic AggregateColumn(String functionName, IColumn[] columns, String nameAs)
functionName - 函数名称columns - 列数组nameAs - 别名public String getNameWithTableAlias()
getNameWithTableAlias 在接口中 IColumnpublic IColumn getColumn()
IColumnSupportgetColumn 在接口中 IColumnSupportpublic String getFunctionName()
public void setFunctionName(String functionName)
You can use getFunctionName() to get the value of functionName
functionName - functionNamepublic IColumn[] getColumns()
public void setColumns(IColumn[] columns)
You can use getColumns() to get the value of columns
columns - columnspublic void setNameAs(String nameAs)
You can use getNameAs() to get the value of nameAs
nameAs - nameAspublic boolean isDistinct()
public void setDistinct(boolean distinct)
You can use getDistinct() to get the value of distinct
distinct - distinctCopyright © 2020 IBIT程序猿. All rights reserved.