| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
create(T obj) |
boolean |
createBatch(List<T> objList) |
long |
createId() |
boolean |
createOrReplace(T obj)
replace: clear all the value of the row, and insert the new value >
is not refreshOrCreate >
x7 will not support refreshOrCreate, coding: query at first, then refresh of create
|
Page<T> |
find(Criteria CriteriaBuilder_build_get)
Standard query pageable API
|
<T> void |
findToHandle(Criteria criteria,
RowHandler<T> handler)
like stream, fetchSize=50, the api not fast, to avoid OOM when scheduling
|
T |
get(long keyOne) |
T |
get(String keyOne) |
T |
getOne(T conditionObj) |
List<T> |
in(String property,
List<? extends Object> inList)
in API
|
List<T> |
list()
LOAD
|
List<T> |
list(Criteria CriteriaBuilder_build_get) |
List<T> |
list(T conditionObj)
根据对象查询
|
boolean |
refresh(RefreshCondition<T> RefreshCondition_build) |
void |
refreshCache() |
boolean |
refreshUnSafe(RefreshCondition<T> RefreshCondition_build)
refreshCondition without keyOne
|
boolean |
remove(long keyOne) |
boolean |
remove(String keyOne) |
boolean |
removeRefreshCreate(RemoveRefreshCreate<T> RemoveRrefreshCreate_wrap)
caution: sometimes, should not use the api >
|
long createId()
void refreshCache()
boolean create(T obj)
boolean createOrReplace(T obj)
boolean refresh(RefreshCondition<T> RefreshCondition_build)
boolean refreshUnSafe(RefreshCondition<T> RefreshCondition_build)
boolean remove(String keyOne)
boolean remove(long keyOne)
boolean removeRefreshCreate(RemoveRefreshCreate<T> RemoveRrefreshCreate_wrap)
T get(long keyOne)
keyOne - Page<T> find(Criteria CriteriaBuilder_build_get)
CriteriaBuilder_build_get - <T> void findToHandle(Criteria criteria, RowHandler<T> handler)
T - criteria - handler - Copyright © 2020. All rights reserved.