public class CalendarDataHelper.InstancesDataHelper extends Object
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
CalendarCollection |
query(DataAbilityPredicates predicates,
String[] columns,
long begin,
long end) |
Queries database instance data based on
predicates, columns, and the range specified
by begin and end. |
boolean |
release() |
Releases the client resource of the Data ability.
|
public CalendarCollection query(DataAbilityPredicates predicates, String[] columns, long begin, long end) throws DataAbilityRemoteException
predicates, columns, and the range specified
by begin and end.predicates - Indicates the filter conditions. Applications can query data using exact match, fuzzy
match, or aggregation.columns - Indicates the fields to obtain.begin - Indicates the start query range.end - Indicates the end query range.DataAbilityRemoteException - Throws this exception if a remote process exception occurs.public boolean release()