Package com.objectsql.option
Class H2Options
java.lang.Object
com.objectsql.option.AbstractOptions
com.objectsql.option.MySQLOptions
com.objectsql.option.H2Options
- 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 tableColumn, int sensitive, boolean addKey) protected StringcolumnStringChangeNull(ColumnInfo info, int sensitive, boolean isNull) 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) getCaseSensitive(String name, int sensitive) protected StringgetColumnType(ColumnInfo info, RdColumn rdColumn) keyword()table(Connection connection, String schema, RdTable rdTable) table(Connection connection, String schema, Table table) booleantableExists(Connection connection, String schema, String tableName) tables(Connection connection, String schema, String keyword) Methods inherited from class com.objectsql.option.MySQLOptions
doQuery, doQuery, dropTable, getClassName, getColumnType, getColumnWithOperator, getColumnWithOperatorAndFunction, nanoTimeSQL, preSetParameterMethods 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
-
H2Options
public H2Options()
-
-
Method Details
-
keyword
- Specified by:
keywordin interfaceOptions- Overrides:
keywordin classMySQLOptions
-
databaseType
- Specified by:
databaseTypein interfaceOptions- Overrides:
databaseTypein classMySQLOptions
-
tables
- Specified by:
tablesin interfaceOptions- Overrides:
tablesin classMySQLOptions
-
table
- Specified by:
tablein interfaceOptions- Overrides:
tablein classMySQLOptions- Throws:
ORMException
-
table
- Specified by:
tablein interfaceOptions- Overrides:
tablein classMySQLOptions
-
tableExists
- Specified by:
tableExistsin interfaceOptions- Overrides:
tableExistsin classMySQLOptions
-
columns
- Specified by:
columnsin interfaceOptions- Overrides:
columnsin classMySQLOptions
-
columns
public List<TableColumn> columns(Connection connection, String schema, RdTable rdTable) throws ORMException - Specified by:
columnsin interfaceOptions- Overrides:
columnsin classMySQLOptions- Throws:
ORMException
-
getSchema
- Overrides:
getSchemain classMySQLOptions
-
createOrUpdateSqls
public List<String> createOrUpdateSqls(Connection connection, String schema, RdTable table, List<ColumnInfo> infos, boolean tableExisted, List<TableColumn> tableColumns) - Specified by:
createOrUpdateSqlsin interfaceOptions- Overrides:
createOrUpdateSqlsin classMySQLOptions
-
createOrUpdateSqls
public List<String> createOrUpdateSqls(Connection connection, String schema, Table table, List<TableColumn> columns, List<TableColumn> tableColumns, boolean tableExisted) - Specified by:
createOrUpdateSqlsin interfaceOptions- Overrides:
createOrUpdateSqlsin classMySQLOptions
-
columnStringChangeNull
-
columnString
- Overrides:
columnStringin classMySQLOptions
-
columnString
- Overrides:
columnStringin classMySQLOptions
-
getColumnType
- Overrides:
getColumnTypein classMySQLOptions
-
getCaseSensitive
- Specified by:
getCaseSensitivein interfaceOptions- Overrides:
getCaseSensitivein classMySQLOptions
-