public class AbstractDQLBuilder extends AbstractSQLBuilder implements DQLBuilder
connectionExecutor, logger, PLACEHOLDER, quickDAOConfig| 构造器和说明 |
|---|
AbstractDQLBuilder(QuickDAOConfig quickDAOConfig) |
execute, getFieldFromInstance, replaceFirst, selectCountById, selectCountByUniqueKey, setParameter, setParameter, setPrepareStatementParameterpublic AbstractDQLBuilder(QuickDAOConfig quickDAOConfig)
public ConnectionExecutorItem fetchNull(Class clazz, String field) throws SQLException
DQLBuilderfetchNull 在接口中 DQLBuilderclazz - 实体类field - 字段名称SQLExceptionpublic ConnectionExecutorItem fetch(Class clazz, long id) throws SQLException
DQLBuilderfetch 在接口中 DQLBuilderclazz - 实体类id - 实体类id值SQLExceptionpublic ConnectionExecutorItem fetch(Class clazz, String field, Object value) throws SQLException
DQLBuilderfetch 在接口中 DQLBuilderclazz - 实体类field - 字段名称value - 字段值SQLExceptionpublic ConnectionExecutorItem fetchNull(String tableName, String field) throws SQLException
DQLBuilderfetchNull 在接口中 DQLBuildertableName - 表名field - 字段名称SQLExceptionpublic ConnectionExecutorItem fetch(String tableName, String field, Object value) throws SQLException
DQLBuilderfetch 在接口中 DQLBuildertableName - 表名field - 字段名称value - 字段值SQLExceptionpublic int getResultSetRowCount(Query query) throws SQLException
DQLBuildergetResultSetRowCount 在接口中 DQLBuilderquery - 查询条件SQLExceptionpublic ConnectionExecutorItem count(Query query) throws SQLException
DQLBuildercount 在接口中 DQLBuilderquery - 查询条件SQLExceptionpublic ConnectionExecutorItem insert(Query query) throws SQLException
DQLBuilderinsert 在接口中 DQLBuilderquery - 查询条件SQLExceptionpublic ConnectionExecutorItem[] insertArray(Query query) throws SQLException
DQLBuilderinsertArray 在接口中 DQLBuilderquery - 查询条件SQLExceptionpublic ConnectionExecutorItem insertArrayBatch(Query query) throws SQLException
DQLBuilderinsertArrayBatch 在接口中 DQLBuilderquery - 查询条件SQLExceptionpublic ConnectionExecutorItem insertArrayBatch(Query query, int offset, int length) throws SQLException
DQLBuilderinsertArrayBatch 在接口中 DQLBuilderquery - 查询条件offset - 偏移量length - 长度SQLExceptionpublic ConnectionExecutorItem update(Query query) throws SQLException
DQLBuilderupdate 在接口中 DQLBuilderquery - 查询条件SQLExceptionpublic ConnectionExecutorItem delete(Query query) throws SQLException
DQLBuilderdelete 在接口中 DQLBuilderquery - 查询条件SQLExceptionpublic ConnectionExecutorItem getArray(Query query) throws SQLException
DQLBuildergetArray 在接口中 DQLBuilderquery - 查询条件SQLExceptionpublic StringBuilder getArraySQL(Query query)
DQLBuildergetArraySQL 在接口中 DQLBuilderquery - 查询条件protected void addMainTableParameters(PreparedStatement ps, Query query, Query mainQuery, StringBuilder sqlBuilder) throws SQLException
SQLExceptionCopyright © 2022. All rights reserved.