public class MySQLOptions extends AbstractOptions
| 构造器和说明 |
|---|
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 在类中 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[] names, Condition condition, MultiOrder multiOrder, Integer start, Integer size)
public boolean tableExists(Connection connection, String tableName)
public String getCaseSensitive(String name, int sensitive)
getCaseSensitive 在接口中 OptionsgetCaseSensitive 在类中 AbstractOptionspublic List<Table> tables(Connection connection, String keyword)
public Table table(Connection connection, RdTable rdTable) throws ORMException
ORMExceptionpublic Table table(Connection connection, Table table)
public List<TableColumn> columns(Connection connection, RdTable rdTable) throws ORMException
ORMExceptionpublic List<TableColumn> columns(Connection connection, String tableName)
public List<String> createOrUpdateSqls(Connection connection, RdTable table, List<ColumnInfo> infos, boolean tableExisted, List<TableColumn> tableColumns)
public List<String> createOrUpdateSqls(Connection connection, 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 © 2023. All rights reserved.