public class Distinct extends SimpleStatisticsOperator implements SelectItem, Cloneable
Constructor and Description |
---|
Distinct() |
Distinct(SelectItem selectItem) |
Distinct(String columnName) |
Modifier and Type | Method and Description |
---|---|
Distinct |
as(String aliasName) |
Distinct |
as(String aliasName,
boolean withAs) |
void |
builderExpression(StatementSqlBuilder builder)
实现接口的sql片段通过builder.appendSql(String
segment)进行拼接,也可以builder.getStringBuilder方法获取StringBuilder,然后进行append
实现的参数信息通过builder.addParamValue(Object...
|
void |
builderSelectItem(StatementSqlBuilder builder)
实现接口的sql片段通过builder.appendSql(String
segment)进行拼接,也可以builder.getStringBuilder方法获取StringBuilder,然后进行append
实现的参数信息通过builder.addParamValue(Object...
|
static Distinct |
distinct() |
static Distinct |
distinct(SelectItem selectItem) |
static Distinct |
distinct(String columnName) |
Alias |
getAlias() |
SelectItem |
getSelectItem() |
void |
setAlias(Alias alias) |
void |
setSelectItem(SelectItem selectItem) |
String |
toString() |
public Distinct()
public Distinct(String columnName)
public Distinct(SelectItem selectItem)
public static Distinct distinct(SelectItem selectItem)
public static Distinct distinct()
public Alias getAlias()
public void setAlias(Alias alias)
public SelectItem getSelectItem()
public void setSelectItem(SelectItem selectItem)
public void builderSelectItem(StatementSqlBuilder builder)
SelectItemBuildProcessor
builderSelectItem
in interface SelectItemBuildProcessor
public void builderExpression(StatementSqlBuilder builder)
ExpressionBuildProcessor
builderExpression
in interface ExpressionBuildProcessor
Copyright © 2006–2018 TinyGroup. All rights reserved.