public class RawRdbPredicates extends AbsRdbPredicates
RawRdbPredicates is only allowed to set table name, whereClause and whereArgs in the constructor method, and other interfaces in RdbPredicates isn't recommended to use.
SystemCapability.Data#DATA_APPDATAMGR| 构造器 | 说明 |
|---|---|
RawRdbPredicates(String tableName) |
The constructor method of RawRdbPredicate with the defined table name.
|
RawRdbPredicates(String tableName,
String whereClause,
String[] whereArgs) |
The constructor method of RawRdbPredicate with the defined table name, where clause and whereArgs.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
List<String> |
getWhereArgs() |
|
String |
getWhereClause() |
|
void |
setWhereArgs(List<String> whereArgs) |
|
void |
setWhereClause(String whereClause) |
clear, getTableNamepublic RawRdbPredicates(String tableName)
tableName - Indicates the name of the table to operate.public RawRdbPredicates(String tableName, String whereClause, String[] whereArgs)
tableName - Indicates the name of the table to be operated.whereClause - Indicates the where clause of the sql statement.whereArgs - Indicates the value of placeholder in where clause.