public class MySQLOptions extends AbstractOptions
| Constructor and Description |
|---|
MySQLOptions() |
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 boolean preSetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) throws SQLException
preSetParameter in class AbstractOptionsSQLExceptionpublic String keyword()
public 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 String getCaseSensitive(String name, int sensitive)
getCaseSensitive in interface OptionsgetCaseSensitive in class AbstractOptionspublic List<Table> tables(Connection connection, String schema, String keyword)
public Table table(Connection connection, String schema, RdTable rdTable) throws ORMException
ORMExceptionpublic Table table(Connection connection, String schema, Table table)
public List<TableColumn> columns(Connection connection, String schema, RdTable rdTable) throws ORMException
ORMExceptionpublic 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(TableColumn tableColumn, int sensitive, boolean addKey)
protected String columnString(ColumnInfo info, int sensitive, RdColumn rdColumn, boolean addKey)
protected String getColumnType(ColumnInfo info, RdColumn rdColumn)
public String getColumnType(TableColumn column)
public String getClassName(TableColumn column)
Copyright © 2025. All rights reserved.