public class AggregateColumn extends Object implements IColumn, IColumnOrderBySupport, IColumnCriteriaItemSupport
| Constructor and Description |
|---|
AggregateColumn(String functionName,
IColumn[] columns,
String nameAs)
构造函数
|
AggregateColumn(String functionName,
IColumn[] columns,
String nameAs,
boolean distinct)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
IColumn |
getColumn()
获取列
|
IColumn[] |
getColumns()
Gets the value of columns
|
String |
getFunctionName()
Gets the value of functionName
|
String |
getName()
获取列名称
|
String |
getNameAs()
获取列后面的`as`名称
|
String |
getNameWithTableAlias()
获取带表别名的列名称
|
boolean |
isDistinct()
Gets the value of distinct
|
void |
setColumns(IColumn[] columns)
Sets the columns
|
void |
setDistinct(boolean distinct)
Sets the distinct
|
void |
setFunctionName(String functionName)
Sets the functionName
|
void |
setNameAs(String nameAs)
Sets the nameAs
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCompareColumnName, getSelectColumnName, valuecustomerOrderBy, customerOrderBy, orderBy, orderBypublic AggregateColumn(String functionName, IColumn[] columns, String nameAs)
functionName - 函数名称columns - 列数组nameAs - 别名public String getNameWithTableAlias()
getNameWithTableAlias in interface IColumnpublic IColumn getColumn()
IColumnSupportgetColumn in interface 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.