public abstract class AbstractOptions extends Object implements Options
| Constructor and Description |
|---|
AbstractOptions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcolumns, columns, createOrUpdateSqls, createOrUpdateSqls, databaseType, doQuery, doQuery, dropTable, getClassName, getColumnType, getColumnWithOperator, getColumnWithOperatorAndFunction, keyword, nanoTimeSQL, table, table, tableExists, tablespublic abstract boolean preSetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) throws SQLException
SQLExceptionpublic boolean tableExists(Connection connection, String schema, RdTable rdTable) throws ORMException
tableExists in interface OptionsORMExceptionpublic void setParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) throws SQLException
setParameter in interface OptionsSQLExceptionpublic QueryInfo doQueryCount(IQuery query)
doQueryCount in interface Optionspublic String selectCount()
public String selectColumns(IQuery query, String alias, Map<String,String> asNames, List<Pair> values)
public String joins(MultiQuery obj, List<Pair> values)
protected String getForeignSQL(RdTable table, RdColumn rdColumn, RdForeignKey foreign)
protected String getUniqueSQL(RdTable table, RdColumn rdColumn, RdUniqueKey uniqueKey)
public SQLPair parseExpression(Class clazz, Map<String,Object> clazzes, Expression expression)
public String parseColumn(Column column)
parseColumn in interface Optionspublic String getConditions(Object queryOrClass, List<Condition> cds, List<Pair> values)
getConditions in interface Optionspublic String getConditions(Class clazz, Expression[] expressions, List<Pair> values)
getConditions in interface Optionspublic SQLPair parseExpression(Object clazz, Expression expression)
parseExpression in interface Optionspublic abstract String getCaseSensitive(String name, int sensitive)
getCaseSensitive in interface Optionspublic String getTableName(RdTable rdTable) throws ORMException
getTableName in interface OptionsORMExceptionCopyright © 2024. All rights reserved.