Package com.objectsql.option
Class SQLServerOptions
java.lang.Object
com.objectsql.option.AbstractOptions
com.objectsql.option.SQLServerOptions
- All Implemented Interfaces:
Options
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumns(Connection connection, String schema, RdTable rdTable) columns(Connection connection, String schema, String tableName) protected StringcolumnString(ColumnInfo info, int sensitive, RdColumn rdColumn, boolean addKey) protected StringcolumnString(TableColumn tc, int sensitive, boolean addKey) createOrUpdateSqls(Connection connection, String schema, RdTable table, List<ColumnInfo> infos, boolean tableExisted, List<TableColumn> tableColumns) createOrUpdateSqls(Connection connection, String schema, Table table, List<TableColumn> columns, List<TableColumn> tableColumns, boolean tableExisted) doQuery(Class<?> clazz, String schema, String[] names, Condition condition, MultiOrder multiOrder, Integer start, Integer size) getCaseSensitive(String name, int sensitive) getClassName(TableColumn column) protected StringgetColumnType(ColumnInfo info, RdColumn rdColumn) getColumnType(TableColumn column) getColumnWithOperator(OperatorType operatorType, String name, String value) getColumnWithOperatorAndFunction(String function, boolean inFunction, OperatorType operatorType, String name, String value) keyword()booleanpreSetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) table(Connection connection, String schema, RdTable rdTable) table(Connection connection, String schema, Table tab) booleantableExists(Connection connection, String schema, String tableName) tables(Connection connection, String schema, String keyword) Methods inherited from class com.objectsql.option.AbstractOptions
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, wheres
-
Constructor Details
-
SQLServerOptions
public SQLServerOptions()
-
-
Method Details
-
keyword
-
preSetParameter
public boolean preSetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) throws SQLException - Specified by:
preSetParameterin classAbstractOptions- Throws:
SQLException
-
getColumnWithOperator
-
getColumnWithOperatorAndFunction
public String getColumnWithOperatorAndFunction(String function, boolean inFunction, OperatorType operatorType, String name, String value) -
databaseType
-
nanoTimeSQL
-
doQuery
-
doQuery
-
tableExists
-
table
- Throws:
ORMException
-
table
-
columns
-
columns
-
createOrUpdateSqls
public List<String> createOrUpdateSqls(Connection connection, String schema, RdTable table, List<ColumnInfo> infos, boolean tableExisted, List<TableColumn> tableColumns) -
dropTable
-
createOrUpdateSqls
public List<String> createOrUpdateSqls(Connection connection, String schema, Table table, List<TableColumn> columns, List<TableColumn> tableColumns, boolean tableExisted) -
columnString
-
columnString
-
getColumnType
-
getColumnType
-
getClassName
-
getCaseSensitive
- Specified by:
getCaseSensitivein interfaceOptions- Specified by:
getCaseSensitivein classAbstractOptions
-
tables
-