Package com.objectsql.option
Class PostgreSQLOptions
java.lang.Object
com.objectsql.option.AbstractOptions
com.objectsql.option.MySQLOptions
com.objectsql.option.PostgreSQLOptions
- 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) getCaseSensitive(String name, int sensitive) getClassName(TableColumn column) protected StringgetColumnType(ColumnInfo info, RdColumn rdColumn) getColumnType(TableColumn column) 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 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, getColumnWithOperator, getColumnWithOperatorAndFunction, getSchemaMethods 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
-
PostgreSQLOptions
public PostgreSQLOptions()
-
-
Method Details
-
databaseType
- Specified by:
databaseTypein interfaceOptions- Overrides:
databaseTypein classMySQLOptions
-
preSetParameter
public boolean preSetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) throws SQLException - Overrides:
preSetParameterin classMySQLOptions- Throws:
SQLException
-
keyword
- Specified by:
keywordin interfaceOptions- Overrides:
keywordin classMySQLOptions
-
nanoTimeSQL
- Specified by:
nanoTimeSQLin interfaceOptions- Overrides:
nanoTimeSQLin classMySQLOptions
-
table
- Specified by:
tablein interfaceOptions- Overrides:
tablein classMySQLOptions- Throws:
ORMException
-
table
- Specified by:
tablein interfaceOptions- Overrides:
tablein classMySQLOptions
-
tables
- Specified by:
tablesin interfaceOptions- Overrides:
tablesin classMySQLOptions
-
tableExists
- Specified by:
tableExistsin interfaceOptions- Overrides:
tableExistsin classMySQLOptions
-
columns
public List<TableColumn> columns(Connection connection, String schema, RdTable rdTable) throws ORMException - Specified by:
columnsin interfaceOptions- Overrides:
columnsin classMySQLOptions- Throws:
ORMException
-
columns
- Specified by:
columnsin interfaceOptions- Overrides:
columnsin classMySQLOptions
-
getCaseSensitive
- Specified by:
getCaseSensitivein interfaceOptions- Overrides:
getCaseSensitivein 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
-
dropTable
- Specified by:
dropTablein interfaceOptions- Overrides:
dropTablein 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
-
columnString
- Overrides:
columnStringin classMySQLOptions
-
columnString
- Overrides:
columnStringin classMySQLOptions
-
getColumnType
- Overrides:
getColumnTypein classMySQLOptions
-
getColumnType
- Specified by:
getColumnTypein interfaceOptions- Overrides:
getColumnTypein classMySQLOptions
-
getClassName
- Specified by:
getClassNamein interfaceOptions- Overrides:
getClassNamein classMySQLOptions
-