public class RowMapperInvoker extends Object
| Constructor and Description |
|---|
RowMapperInvoker(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory) |
public RowMapperInvoker(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
public int insertBatchWithFirstRowColumns(String schema, String tableName, List<Row> rows)
public int deleteBatchByIds(String schema, String tableName, String primaryKey, Collection<?> ids)
public int deleteByQuery(String schema, String tableName, QueryWrapper queryWrapper)
public <M,E> int[] executeBatch(Collection<E> datas, int batchSize, Class<M> mapperClass, BiConsumer<M,E> consumer)
public <M> int[] executeBatch(int totalSize,
int batchSize,
Class<M> mapperClass,
BiConsumer<M,Integer> consumer)
public int updateByQuery(String schema, String tableName, Row data, QueryWrapper queryWrapper)
public Row selectOneById(String schema, String tableName, String primaryKey, Object id)
public Row selectOneByQuery(String schema, String tableName, QueryWrapper queryWrapper)
public List<Row> selectListByQuery(String schema, String tableName, QueryWrapper queryWrapper)
public Map selectFirstAndSecondColumnsAsMapByQuery(String schema, String tableName, QueryWrapper queryWrapper)
public Map selectFirstAndSecondColumnsAsMap(String sql, Object... args)
public Object selectObjectByQuery(String schema, String tableName, QueryWrapper queryWrapper)
public List<Object> selectObjectListByQuery(String schema, String tableName, QueryWrapper queryWrapper)
public long selectCountByQuery(String schema, String tableName, QueryWrapper queryWrapper)
Copyright © 2024. All rights reserved.