public abstract class SqlSelectBuilder extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,TableAliasMapping> |
aliasTableMap |
protected String |
dataSourceName |
protected ParameterBinder |
parameterBinder |
protected SelectSpecification |
selectSpecification |
protected StringBuilder |
sqlBuilder |
protected SqlDialect |
sqlDialect |
protected Version |
version |
| 限定符 | 构造器和说明 |
|---|---|
protected |
SqlSelectBuilder(SelectSpecification selectSpecification) |
| 限定符和类型 | 方法和说明 |
|---|---|
SqlStatementSelectWrapper |
build(Class<?> returnClass) |
protected void |
continueParsingSql(Class<?> returnClass)
将解析表后的操作都聚拢在这里
|
String |
getDataSourceName() |
protected String |
getSchemaTableFullName(TableMeta tableMeta) |
protected abstract void |
parseColumnFunction() |
protected abstract boolean |
parseFormTables()
解析From
|
protected abstract void |
parseLimit() |
protected String |
parseOrderBy(List<OrderBy> orderBys,
Class<?> returnClass) |
protected String |
syntaxAs() |
protected String |
syntaxColumnAlias(String columnAlias) |
protected final StringBuilder sqlBuilder
protected final SelectSpecification selectSpecification
protected final Version version
protected final SqlDialect sqlDialect
protected final String dataSourceName
protected final ParameterBinder parameterBinder
protected final Map<String,TableAliasMapping> aliasTableMap
protected SqlSelectBuilder(SelectSpecification selectSpecification)
protected abstract void parseColumnFunction()
protected abstract boolean parseFormTables()
protected abstract void parseLimit()
public final SqlStatementSelectWrapper build(Class<?> returnClass)
protected void continueParsingSql(Class<?> returnClass)
returnClass - 返回对象,该对象仅作SQL注入校验用,可以为null,为空代表不涉及注入protected String syntaxAs()
public String getDataSourceName()
Copyright © 2024–2025 Dynamic-SQL. All rights reserved.