public class SetSupportImpl<T> extends BaseSetSupportImpl<T> implements SetSupport<T>
Constructor and Description |
---|
SetSupportImpl(T sql)
构造函数
|
Modifier and Type | Method and Description |
---|---|
T |
decreaseSet(Column column,
Number value)
设置自减
|
PrepareStatement |
getSetItemPrepareStatement(boolean useAlias)
获取预查询SQL对象
|
T |
increaseSet(Column column,
Number value)
设置自增长
|
T |
set(Column column,
Object value)
设置具体值
|
T |
set(List<SetItem> items)
批量增加设置内容
|
T |
set(SetItem item)
增加设置内容
|
getSet, getSetItemPrepareStatement, getSql
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append, append, getPrepareStatement, getPrepareStatement, getPrepareStatement, getPrepareStatement
public SetSupportImpl(T sql)
sql
- sql对象public T set(SetItem item)
SetSupport
set
in interface SetSupport<T>
item
- 设置项public T set(List<SetItem> items)
SetSupport
set
in interface SetSupport<T>
items
- 设置项public T set(Column column, Object value)
SetSupport
set
in interface SetSupport<T>
column
- 列value
- 值public T increaseSet(Column column, Number value)
SetSupport
increaseSet
in interface SetSupport<T>
column
- 列value
- 值public T decreaseSet(Column column, Number value)
SetSupport
decreaseSet
in interface SetSupport<T>
column
- 列value
- 值public PrepareStatement getSetItemPrepareStatement(boolean useAlias)
useAlias
- 是否使用别名Copyright © 2020 IBIT程序猿. All rights reserved.