public class SqlServerDialect extends Object implements SqlDialect
DEFAULT| 构造器和说明 |
|---|
SqlServerDialect() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
buildColumnName(String category,
String tableName,
String columnName,
JDBCType jdbcType,
Class<?> javaType)
生成 where 中用到的条件名(包括 group by、order by)
|
String |
buildSelect(String category,
String tableName,
String columnName,
JDBCType jdbcType,
Class<?> javaType)
生成 select 时的列信息
|
String |
buildTableName(String category,
String tableName)
生成 form 后面的表名
|
BoundSql |
getCountSql(BoundSql boundSql)
生成 count 查询 SQL
|
BoundSql |
getPageSql(BoundSql boundSql,
int start,
int limit)
生成分页查询 SQL
|
protected static net.sf.jsqlparser.statement.select.Select |
parseSelect(String buildSqlString) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildLikeprotected static net.sf.jsqlparser.statement.select.Select parseSelect(String buildSqlString)
public String buildSelect(String category, String tableName, String columnName, JDBCType jdbcType, Class<?> javaType)
SqlDialectbuildSelect 在接口中 SqlDialectpublic String buildTableName(String category, String tableName)
SqlDialectbuildTableName 在接口中 SqlDialectpublic String buildColumnName(String category, String tableName, String columnName, JDBCType jdbcType, Class<?> javaType)
SqlDialectbuildColumnName 在接口中 SqlDialectpublic BoundSql getCountSql(BoundSql boundSql)
SqlDialectgetCountSql 在接口中 SqlDialectpublic BoundSql getPageSql(BoundSql boundSql, int start, int limit)
SqlDialectgetPageSql 在接口中 SqlDialectCopyright © 2020–2021. All rights reserved.