public interface MapSql
| Modifier and Type | Method and Description |
|---|---|
void |
put(Map<String,? extends Object> map)
Set the field information used for where filtering , also can use in SQL insert.
|
void |
put(MapSqlKey mapSqlKey,
String value)
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)
Set the field information used for where filtering , also can use in SQL insert.
|
void |
putNew(Map<String,? extends Object> map)
Set the fields and values that need to be updated for the set part of SQL update
|
void |
putNew(String fieldName,
Object value)
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 |
updateSet(Condition condition)
add condition for update set(use in SQL update set part).
|
void |
where(Condition condition)
add condition for filter(use in SQL where part).
|
void put(MapSqlKey mapSqlKey, String value)
mapSqlKey - MapSqlKeyvalue - valuevoid put(String fieldName, Object value)
fieldName - field namevalue - valuevoid put(Map<String,? extends Object> map)
map - map instance consist by key and value.void putNew(String fieldName, Object value)
fieldName - value - void putNew(Map<String,? extends Object> map)
map - A map object consisting of fields and values that need to be updatedvoid put(MapSqlSetting mapSqlSetting, boolean value)
mapSqlSetting - Key of MapSqlSettingvalue - setting valuevoid start(Integer start)
start - void size(Integer size)
size - void where(Condition condition)
condition - instance of Conditionvoid updateSet(Condition condition)
condition - instance of ConditionCopyright © 2024. All rights reserved.