public class EntityOperator extends Object
构造器和说明 |
---|
EntityOperator() |
限定符和类型 | 方法和说明 |
---|---|
EntityOperator |
add(Pojo pojo) |
Pojo |
addDeleteSelfOnly() |
Pojo |
addDeleteSelfOnly(long id) |
Pojo |
addDeleteSelfOnly(String name) |
List<Pojo> |
addInsert() |
List<Pojo> |
addInsert(Entity<?> en,
Object obj) |
Pojo |
addInsertSelfOnly() |
Pojo |
addInsertSelfOnly(Entity<?> en,
Object obj) |
Pojo |
addUpdate() |
Pojo |
addUpdate(Chain chain,
Condition cnd) |
Pojo |
addUpdate(Condition cnd) |
Pojo |
addUpdate(Entity<?> en,
Object obj) |
Pojo |
addUpdateAndIncrIfMatch(Entity<?> en,
Object obj,
String fieldName) |
Pojo |
addUpdateByPkAndCnd(Condition cnd) |
Pojo |
addUpdateByPkAndCnd(Entity<?> en,
Object obj,
Condition cnd) |
List<Pojo> |
addUpdateForIgnoreNull(Entity<?> en,
Object obj,
FieldMatcher fm) |
EntityOperator |
exec()
批量执行准备好的 Dao 语句
|
Entity<?> |
getEntity(Class<?> type) |
Entity<?> |
getEntityBy(Object obj) |
int |
getPojoListSize() |
int |
getUpdateCount() |
Entity<?> |
makeEntity(String tableName,
Map<String,Object> map) |
PojoMaker |
maker() |
public EntityOperator exec()
public Pojo addUpdate()
public List<Pojo> addUpdateForIgnoreNull(Entity<?> en, Object obj, FieldMatcher fm)
public Pojo addUpdateAndIncrIfMatch(Entity<?> en, Object obj, String fieldName)
public Pojo addDeleteSelfOnly(long id)
public Pojo addDeleteSelfOnly()
public Pojo addInsertSelfOnly()
public EntityOperator add(Pojo pojo)
public int getUpdateCount()
public PojoMaker maker()
public int getPojoListSize()
Copyright © 2017. All rights reserved.