Modifier and Type | Field and Description |
---|---|
protected StringBuilder |
stringBuilder
生成的sql语句
|
Constructor and Description |
---|
StatementSqlBuilder() |
StatementSqlBuilder(StringBuilder stringBuilder,
List<Object> values) |
protected StringBuilder stringBuilder
public StatementSqlBuilder()
public StatementSqlBuilder(StringBuilder stringBuilder, List<Object> values)
public void build(StatementBody statementBody)
public void appendSql(String segment)
public void addParamValue(Object... values)
public void addParamName(String name)
public StringBuilder getStringBuilder()
public boolean isNamedSql()
public String sql()
public String parsedSql()
public String newSql()
public void reset()
protected abstract void parserStatementBody()
public void visitBinaryExpression(BinaryExpression binaryExpression, String operator)
public void visitOldOracleJoinBinaryExpression(OldOracleJoinBinaryExpression expression, String operator)
public void deparseJoin(Join join)
public void deparseOrderBy(List<OrderByElement> orderByElements)
public void deparseOrderBy(boolean oracleSiblings, List<OrderByElement> orderByElements)
public void deparseLimit(Limit limit)
public void deparseOffset(Offset offset)
public void deparseFetch(Fetch fetch)
public StringBuilder getLimitString(String sql, int start, int limit)
public boolean isUseBracketsInExprList()
public void setUseBracketsInExprList(boolean useBracketsInExprList)
Copyright © 2006–2018 TinyGroup. All rights reserved.