public class SQLServerOptions extends AbstractOptions
| 构造器和说明 |
|---|
SQLServerOptions() |
columnComment, doQuery, doQueryCount, getCoding, getColumnWithOperator, getColumnWithOperatorAndFunction, getConditions, getConditions, getForeignSQL, getGroups, getOrders, getOrders, getTableName, getUniqueSQL, groupCountSelect, groups, havings, joins, orders, parseCaseColumnValue, parseColumn, parseColumn, parseConditions, parseExpression, parseExpression, selectColumns, selectCount, setParameter, tableExists, tables, wherespublic String keyword()
public boolean preSetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) throws SQLException
preSetParameter 在类中 AbstractOptionsSQLExceptionpublic String getColumnWithOperator(OperatorType operatorType, String name, String value)
public String getColumnWithOperatorAndFunction(String function, boolean inFunction, OperatorType operatorType, String name, String value)
public String databaseType()
public String nanoTimeSQL()
public SQLHelper doQuery(Class<?> clazz, String[] names, Condition condition, MultiOrder multiOrder, Integer start, Integer size)
public boolean tableExists(Connection connection, String tableName)
public Table table(Connection connection, RdTable rdTable) throws ORMException
ORMExceptionpublic Table table(Connection connection, Table tab)
public List<TableColumn> columns(Connection connection, RdTable rdTable)
public List<TableColumn> columns(Connection connection, String tableName)
public List<String> createOrUpdateSqls(Connection connection, RdTable table, List<ColumnInfo> infos, boolean tableExisted, List<TableColumn> tableColumns)
public List<String> createOrUpdateSqls(Connection connection, Table table, List<TableColumn> columns, List<TableColumn> tableColumns, boolean tableExisted)
protected String columnString(ColumnInfo info, int sensitive, RdColumn rdColumn, boolean addKey)
protected String columnString(TableColumn tc, int sensitive, boolean addKey)
protected String getColumnType(ColumnInfo info, RdColumn rdColumn)
public String getColumnType(TableColumn column)
public String getClassName(TableColumn column)
public String getCaseSensitive(String name, int sensitive)
getCaseSensitive 在接口中 OptionsgetCaseSensitive 在类中 AbstractOptionspublic List<Table> tables(Connection connection, String keyword)
Copyright © 2023. All rights reserved.