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