public class FastData<T extends FastEntity<?>> extends Object
限定符和类型 | 字段和说明 |
---|---|
protected FastEntity<?> |
target |
限定符和类型 | 方法和说明 |
---|---|
protected void |
convertValue(FastEntity<?> entity) |
boolean |
copySave() |
int |
count(String... checks) |
boolean |
delete(String... checks) |
boolean |
deleteById(Object... ids) |
protected String |
getDatabaseType() |
FastSql |
getFastSql() |
boolean |
push(FastHandler handler,
String... checks) |
boolean |
push(String... checks) |
boolean |
save(String... checks) |
T |
selectById(boolean cache,
Object... ids) |
T |
selectById(Object... ids) |
FastPage<T> |
selectBySql(boolean cache,
int page,
int pageSize,
String sqlStr,
Object... params) |
List<T> |
selectBySql(boolean cache,
String sqlStr,
Object... params) |
FastPage<T> |
selectBySql(int page,
int pageSize,
String sqlStr,
Object... params) |
List<T> |
selectBySql(String sqlStr,
Object... params) |
T |
selectFirstBySql(boolean cache,
String sqlStr,
Object... params) |
T |
selectFirstBySql(String sqlStr,
Object... params) |
T |
selectLastBySql(boolean cache,
String sqlStr,
Object... params) |
T |
selectLastBySql(String sqlStr,
Object... params) |
protected void |
setError(Exception e) |
boolean |
update(String... checks) |
boolean |
updateById(Object... ids) |
int |
updateBySql(String sql,
Object... params) |
protected FastEntity<?> target
public FastData(T target)
public FastSql getFastSql()
protected String getDatabaseType()
protected void convertValue(FastEntity<?> entity)
public FastPage<T> selectBySql(boolean cache, int page, int pageSize, String sqlStr, Object... params)
public boolean delete(String... checks)
public boolean deleteById(Object... ids)
public boolean save(String... checks)
public boolean copySave()
public boolean push(String... checks)
public boolean push(FastHandler handler, String... checks)
public int count(String... checks)
protected void setError(Exception e)
public boolean update(String... checks)
public boolean updateById(Object... ids)
Copyright © 2021. All rights reserved.