public class ExpressionList extends Object implements ItemsList
Constructor and Description |
---|
ExpressionList() |
ExpressionList(List<Expression> expressions) |
Modifier and Type | Method and Description |
---|---|
void |
addExpression(Expression expression) |
void |
builderItemList(StatementSqlBuilder builder)
实现接口的sql片段通过builder.appendSql(String
segment)进行拼接,也可以builder.getStringBuilder方法获取StringBuilder,然后进行append
实现的参数信息通过builder.addParamValue(Object...
|
static ExpressionList |
expressionList(Expression expr) |
String |
getComma() |
List<Expression> |
getExpressions() |
boolean |
isUseBrackets() |
boolean |
isUseComma() |
void |
setComma(String comma) |
void |
setExpressions(List<Expression> list) |
void |
setUseBrackets(boolean useBrackets) |
void |
setUseComma(boolean useComma) |
String |
toString() |
public ExpressionList()
public ExpressionList(List<Expression> expressions)
public static ExpressionList expressionList(Expression expr)
public List<Expression> getExpressions()
public void setExpressions(List<Expression> list)
public String getComma()
public void setComma(String comma)
public boolean isUseBrackets()
public void setUseBrackets(boolean useBrackets)
public boolean isUseComma()
public void setUseComma(boolean useComma)
public void addExpression(Expression expression)
public void builderItemList(StatementSqlBuilder builder)
ItemListBuildProcessor
builderItemList
in interface ItemListBuildProcessor
Copyright © 2006–2018 TinyGroup. All rights reserved.