public class SelectSqlGenerator
extends java.lang.Object
构造器和说明 |
---|
SelectSqlGenerator(DictObj obj) |
限定符和类型 | 方法和说明 |
---|---|
void |
amendExpressionDataType(DictExpression expr,
DictObjColumn column) |
protected void |
appendColumnOrValueSql(DictExpression expr,
HSqlCommand cmd) |
protected void |
appendFuzzyValueSql(DictExpression expr,
HSqlCommand cmd,
int mode)
模糊匹配,mode=2 首匹配 mode=1 末尾匹配 mode=3 包含匹配
|
protected void |
appendSubTableSql(DictExpression expr,
HSqlCommand cmd) |
protected void |
appendValueListSql(DictExpression node,
HSqlCommand cmd) |
HSqlCommand |
generate() |
HSqlCommand |
generate(int pollyIndex) |
protected HSqlCommand |
getConditionSql(DictCondition condition) |
HSqlCommand |
getSubSql() |
HSqlCommand |
getWhere()
获取所有的查询条件
|
HSqlCommand |
getWhere(DictCondition appendCdt)
获取所有的查询条件
|
protected void |
joinTable(HSqlCommand selectCmd,
java.util.List<DictObjTable> tables) |
public SelectSqlGenerator(DictObj obj)
public HSqlCommand getWhere()
public HSqlCommand getWhere(DictCondition appendCdt)
appendCdt
- 追加条件public HSqlCommand getSubSql()
public HSqlCommand generate()
public HSqlCommand generate(int pollyIndex)
protected void joinTable(HSqlCommand selectCmd, java.util.List<DictObjTable> tables)
public void amendExpressionDataType(DictExpression expr, DictObjColumn column)
protected HSqlCommand getConditionSql(DictCondition condition)
protected void appendSubTableSql(DictExpression expr, HSqlCommand cmd)
protected void appendColumnOrValueSql(DictExpression expr, HSqlCommand cmd)
protected void appendFuzzyValueSql(DictExpression expr, HSqlCommand cmd, int mode)
expr
- cmd
- mode
- protected void appendValueListSql(DictExpression node, HSqlCommand cmd)