30 hash<string, AbstractDataField> record_type;
32 #! The original field type names
33 hash<string, string> field_types;
35 #! Hash of date/time fields for this record
36 hash<string, bool> date_time_fields;
42 string entity_set_name;
70 *hash<string, DataProvider::AbstractDataField> getRecordTypeImpl(*hash<auto> search_options);
The CdsEntityDataProvider data provider class.
Definition: CdsEntityDataProvider.qc.dox.h:46
constructor(CdsRestClient rest, string name, hash< auto > meta)
Creates the object from the arguments.
string getName()
Returns the data provider name.
updateSingleRecord(string id, hash< auto > set)
updates a single record
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*hash< auto > createRecordImpl(hash< auto > rec, *hash< auto > create_options)
Creates the given record to the data provider.
int updateRecordsImpl(hash< auto > set, hash< auto > where_cond, *hash< auto > search_options)
Updates zero or more records matching the search options.
DataProvider::AbstractDataProviderRecordIterator searchRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Returns an iterator for zero or more records matching the search options.
string name
current object name
Definition: CdsEntityDataProvider.qc.dox.h:50
hash< CdsRestRecordInfo > record_info()
Record info for the entity.
string upsertRecordImpl(hash< auto > rec, *hash< auto > upsert_options)
Upserts the given record to the data provider.
hash< auto > meta
metadata description
Definition: CdsEntityDataProvider.qc.dox.h:53
getRecordInfoIntern()
Retrieves the record type.
int deleteRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Deletes zero or more records.
deleteSingleRecord(string id)
deletes a single record
setEntitySetName()
Determine the entity set name for the entity.
The CdsRest data provider class.
Definition: CdsRestDataProviderBase.qc.dox.h:28
CdsRestClient::CdsRestClient rest
The REST client object for API calls.
Definition: CdsRestDataProviderBase.qc.dox.h:33
Qore CdsRestDataProvider module definition.
Definition: CdsEntityDataProvider.qc.dox.h:26
hashdecl CdsRestRecordInfo
contains Cds object record information
Definition: CdsEntityDataProvider.qc.dox.h:28