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, sum
between, 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, transform
public 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 MultiPartName
public void builderExpression(StatementSqlBuilder builder)
ExpressionBuildProcessor
builderExpression
in interface ExpressionBuildProcessor
public void builderSelectItem(StatementSqlBuilder builder)
SelectItemBuildProcessor
builderSelectItem
in interface SelectItemBuildProcessor
Copyright © 2006–2018 TinyGroup. All rights reserved.