public class Condition extends Object implements Expression
Constructor and Description |
---|
Condition(Expression expression,
Object... values) |
Modifier and Type | Method and Description |
---|---|
Condition |
and(Condition condition) |
static Condition |
andWithBrackets(Expression... expression) |
void |
builderExpression(StatementSqlBuilder builder)
实现接口的sql片段通过builder.appendSql(String
segment)进行拼接,也可以builder.getStringBuilder方法获取StringBuilder,然后进行append
实现的参数信息通过builder.addParamValue(Object...
|
Expression |
getExpression() |
Object[] |
getValues() |
Condition |
or(Condition condition) |
static Condition |
orWithBrackets(Expression... expression) |
String |
toString() |
public Condition(Expression expression, Object... values)
public static Condition orWithBrackets(Expression... expression)
public static Condition andWithBrackets(Expression... expression)
public Expression getExpression()
public Object[] getValues()
public void builderExpression(StatementSqlBuilder builder)
ExpressionBuildProcessor
builderExpression
in interface ExpressionBuildProcessor
Copyright © 2006–2018 TinyGroup. All rights reserved.