public class Column extends ColumnOperator implements Expression, MultiPartName, SelectItem, Cloneable
| Constructor and Description |
|---|
Column() |
Column(String columnName) |
Column(Table table,
String columnName) |
Column(Table table,
String columnName,
String alias) |
| Modifier and Type | Method and Description |
|---|---|
Column |
as(String aliasName) |
Column |
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...
|
Distinct |
distinct() |
Value |
fragmentValue(String fragmentSql) |
Alias |
getAlias() |
String |
getColumnName() |
String |
getFullyQualifiedName() |
Table |
getTable() |
void |
setAlias(Alias alias) |
void |
setColumnName(String string) |
void |
setTable(Table table) |
String |
toString() |
Value |
value(Expression expression) |
Value |
value(Object value) |
avg, count, max, min, sumbetween, eq, equal, getTransform, greaterThan, greaterThanEqual, gt, gte, in, inExpression, isEmpty, isNotEmpty, isNotNull, isNull, isParameterExpression, leftLike, lessThan, lessThanEqual, like, lt, lte, neq, notBetween, notEqual, notIn, notInExpression, notLeftLike, notLike, notRightLike, rightLike, setTransform, toCondition, transformpublic Column()
public Column(String columnName)
public Distinct distinct()
public Value value(Expression expression)
public Table getTable()
public void setTable(Table table)
public String getColumnName()
public void setColumnName(String string)
public Alias getAlias()
public void setAlias(Alias alias)
public String getFullyQualifiedName()
getFullyQualifiedName in interface MultiPartNamepublic void builderExpression(StatementSqlBuilder builder)
ExpressionBuildProcessorbuilderExpression in interface ExpressionBuildProcessorpublic void builderSelectItem(StatementSqlBuilder builder)
SelectItemBuildProcessorbuilderSelectItem in interface SelectItemBuildProcessorCopyright © 2006–2018 TinyGroup. All rights reserved.