-
- 所有已知实现类:
AbstractDataSource.DefaultDataBatch
public interface DataBatch
DataSource批量操作对象,操作类型只能是增删改
非线程安全类详情见: https://redkale.org
- 从以下版本开始:
- 2.8.0
- 作者:
- zhangjx
-
-
方法概要
-
-
-
方法详细资料
-
create
static DataBatch create()
-
insert
<T> DataBatch insert(T... entitys)
-
insert
<T> DataBatch insert(Collection<T> entitys)
-
delete
<T> DataBatch delete(T... entitys)
-
delete
<T> DataBatch delete(Collection<T> entitys)
-
delete
<T> DataBatch delete(Class<T> clazz, Serializable... pks)
-
delete
<T> DataBatch delete(Class<T> clazz, FilterNode node)
-
delete
<T> DataBatch delete(Class<T> clazz, FilterNode node, Flipper flipper)
-
update
<T> DataBatch update(T... entitys)
-
update
<T> DataBatch update(Collection<T> entitys)
-
updateColumn
<T> DataBatch updateColumn(Class<T> clazz, Serializable pk, String column, Serializable value)
-
updateColumn
<T> DataBatch updateColumn(Class<T> clazz, Serializable pk, ColumnValue... values)
-
updateColumn
<T> DataBatch updateColumn(Class<T> clazz, FilterNode node, String column, Serializable value)
-
updateColumn
<T> DataBatch updateColumn(Class<T> clazz, FilterNode node, Flipper flipper, ColumnValue... values)
-
updateColumn
<T> DataBatch updateColumn(T entity, FilterNode node, String... columns)
-
updateColumn
<T> DataBatch updateColumn(T entity, SelectColumn selects)
-
updateColumn
<T> DataBatch updateColumn(T entity, FilterNode node, SelectColumn selects)
-
updateColumn
default <T,V extends Serializable> DataBatch updateColumn(Class<T> clazz, Serializable pk, LambdaSupplier<V> func)
-
updateColumn
default <T> DataBatch updateColumn(Class<T> clazz, Serializable pk, LambdaFunction<T,?> func, Serializable value)
-
updateColumn
default <T> DataBatch updateColumn(Class<T> clazz, FilterNode node, ColumnValue... values)
-
updateColumn
default <T> DataBatch updateColumn(T entity, LambdaFunction<T,?>... funcs)
-
updateColumn
default <T> DataBatch updateColumn(T entity, FilterNode node, LambdaFunction<T,?>... funcs)
-
-