public class SQLServerOptions extends AbstractOptions
| Constructor and Description |
|---|
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 in class 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 schema, String[] names, Condition condition, MultiOrder multiOrder, Integer start, Integer size)
public boolean tableExists(Connection connection, String schema, String tableName)
public Table table(Connection connection, String schema, RdTable rdTable) throws ORMException
ORMExceptionpublic Table table(Connection connection, String schema, Table tab)
public List<TableColumn> columns(Connection connection, String schema, RdTable rdTable)
public List<TableColumn> columns(Connection connection, String schema, String tableName)
public List<String> createOrUpdateSqls(Connection connection, String schema, RdTable table, List<ColumnInfo> infos, boolean tableExisted, List<TableColumn> tableColumns)
public List<String> createOrUpdateSqls(Connection connection, String schema, 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 in interface OptionsgetCaseSensitive in class AbstractOptionspublic List<Table> tables(Connection connection, String schema, String keyword)
Copyright © 2024. All rights reserved.