public interface MapSql
| 限定符和类型 | 方法和说明 |
|---|---|
void |
put(Map<String,? extends Object> map)
设置用于SQL select,delete,update中where过虑的字段信息;也可用于SQL insert,设置插入的字段及相应值
Set the field information used for where filtering in SQL select,delete, also can use in SQL insert.
|
void |
put(MapSqlKey MapSqlKey,
String value)
设置SQL用到的相关信息,Map的key由MapSqlKey提供.Set the relevant information used by SQL.
|
void |
put(MapSqlSetting MapSqlSetting,
boolean value)
设置用于过滤或处理规则的配置.Set the configuration for filtering or processing rule.
|
void |
put(String fieldName,
Object value)
设置用于SQL select,delete,update中where过虑的字段信息;也可用于SQL insert,设置插入的字段及相应值
Set the field information used for where filtering in SQL select,delete, also can use in SQL insert.
|
void |
putNew(Map<String,? extends Object> map)
设置需要更新的字段和值,用于update SQL的Set部分
Set the fields and values that need to be updated for the set part of SQL update
|
void |
putNew(String fieldName,
Object value)
设置需要更新的字段和值,用于update的Set部分
Set the fields and values that need to be updated for the set part of SQL update
|
void |
size(Integer size)
分页查询时,设置一页的数据记录数量.During paging query, set the number of data records on one page.
|
void |
start(Integer start)
分页查询时,设置开始页.Set the start page when paging query.
|
void put(MapSqlKey MapSqlKey, String value)
MapSqlKey - 设置的MapSqlKey Keyvalue - valuevoid put(String fieldName, Object value)
fieldName - field namevalue - valuevoid put(Map<String,? extends Object> map)
map - 字段和值组成的map对象void putNew(String fieldName, Object value)
fieldName - value - void putNew(Map<String,? extends Object> map)
map - 需要更新的字段和值组成的map对象. A map object consisting of fields and values that need to be updatedvoid put(MapSqlSetting MapSqlSetting, boolean value)
MapSqlSetting - 设置的MapSqlSetting Keyvalue - 设置的值void start(Integer start)
start - void size(Integer size)
size - Copyright © 2021. All rights reserved.