public class WhenClause extends Object implements Expression
Constructor and Description |
---|
WhenClause() |
Modifier and Type | Method and Description |
---|---|
void |
builderExpression(StatementSqlBuilder builder)
实现接口的sql片段通过builder.appendSql(String
segment)进行拼接,也可以builder.getStringBuilder方法获取StringBuilder,然后进行append
实现的参数信息通过builder.addParamValue(Object...
|
Expression |
getThenExpression() |
Expression |
getWhenExpression() |
void |
setThenExpression(Expression thenExpression) |
void |
setWhenExpression(Expression whenExpression) |
String |
toString() |
public Expression getThenExpression()
public void setThenExpression(Expression thenExpression)
thenExpression
- The thenExpression to set.public Expression getWhenExpression()
public void setWhenExpression(Expression whenExpression)
whenExpression
- The whenExpression to set.public void builderExpression(StatementSqlBuilder builder)
ExpressionBuildProcessor
builderExpression
in interface ExpressionBuildProcessor
Copyright © 2006–2018 TinyGroup. All rights reserved.