Package com.objectsql.support
Interface Options
- All Known Implementing Classes:
AbstractOptions,DMOptions,H2Options,MySQLOptions,OracleOptions,PostgreSQLOptions,SQLServerOptions
public interface Options
-
Method Summary
Modifier and TypeMethodDescriptioncolumns(Connection connection, String schema, RdTable table) columns(Connection connection, String schema, String table) createOrUpdateSqls(Connection connection, String schema, RdTable table, List<ColumnInfo> columnInfoList, 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) doQueryCount(IQuery query) getCaseSensitive(String name, int sensitive) getClassName(TableColumn column) getColumnType(TableColumn column) getColumnWithOperator(OperatorType operatorType, String name, String value) getColumnWithOperatorAndFunction(String function, boolean inFunction, OperatorType operatorType, String name, String value) getConditions(Class clazz, Expression[] expressions, List<Pair> values) getTableName(RdTable table) keyword()parseColumn(Column column) parseExpression(Object clazz, Expression expression) voidsetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) table(Connection connection, String schema, RdTable table) table(Connection connection, String schema, Table table) booleantableExists(Connection connection, String schema, RdTable table) booleantableExists(Connection connection, String schema, String table) tables(Connection connection, String schema, String keyword)
-
Method Details
-
keyword
String keyword() -
setParameter
void setParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) throws SQLException - Throws:
SQLException
-
getColumnWithOperator
-
getColumnWithOperatorAndFunction
String getColumnWithOperatorAndFunction(String function, boolean inFunction, OperatorType operatorType, String name, String value) -
databaseType
String databaseType() -
nanoTimeSQL
String nanoTimeSQL() -
doQueryCount
-
doQuery
-
doQuery
-
doQuery
-
tableExists
-
tableExists
- Throws:
ORMException
-
table
- Throws:
ORMException
-
table
-
columns
- Throws:
ORMException
-
parseExpression
-
getConditions
-
getConditions
-
parseColumn
-
getCaseSensitive
-
getTableName
- Throws:
ORMException
-
tables
-
columns
-
createOrUpdateSqls
List<String> createOrUpdateSqls(Connection connection, String schema, RdTable table, List<ColumnInfo> columnInfoList, boolean tableExisted, List<TableColumn> tableColumns) -
createOrUpdateSqls
List<String> createOrUpdateSqls(Connection connection, String schema, Table table, List<TableColumn> columns, List<TableColumn> tableColumns, boolean tableExisted) -
getColumnType
-
getClassName
-
dropTable
-