public class UpdateBuilder extends Object
| 构造器和说明 |
|---|
UpdateBuilder(Class<?> clazz) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addQuery(String pName,
Object pValue1,
Object pValue2,
String pType,
boolean isOr)
添加查询条件
|
void |
addQuery(String pName,
Object pValue,
String pType) |
void |
addQuery(String pName,
Object pValue,
String pType,
boolean isOr)
添加查询条件
|
ContentValues |
getContentValues() |
protected String |
getTable() |
protected String |
getWhere() |
protected String[] |
getWhereArgs() |
void |
setValue(String pName,
Boolean pValue) |
void |
setValue(String pName,
Byte pValue) |
void |
setValue(String pName,
byte[] pValue) |
void |
setValue(String pName,
Double pValue) |
void |
setValue(String pName,
Float pValue) |
void |
setValue(String pName,
Integer pValue) |
void |
setValue(String pName,
Long pValue) |
void |
setValue(String pName,
Object pValue) |
void |
setValue(String pName,
Short pValue) |
void |
setValue(String pName,
String pValue) |
public UpdateBuilder(Class<?> clazz)
public void addQuery(String pName, Object pValue, String pType)
pName - 字段名称pValue - 字段值pType - 查询类型{}public void addQuery(String pName, Object pValue, String pType, boolean isOr)
pName - 字段名称pValue - 字段值pType - 查询类型{}isOr - public void addQuery(String pName, Object pValue1, Object pValue2, String pType, boolean isOr)
pName - 字段名称pValue1 - 字段值pValue2 - 字段值pType - 查询类型{}isOr - protected String getWhere()
protected String[] getWhereArgs()
protected String getTable()
public void setValue(String pName, byte[] pValue)
public ContentValues getContentValues()