Qore CdsRestDataProvider Module Reference 2.0.0
Loading...
Searching...
No Matches
CdsRestTablesDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace CdsRestDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
36 static hash<DataProviderSummaryInfo> ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
37 AbstractDataProvider::DataProviderSummaryInfoKeys
38 });
39
40protected:
42 *hash<auto> meta;
43
45 Qore::Thread::Mutex lck();
46
47public:
48
50 constructor(CdsRestClient::CdsRestClient rest) ;
51
52
54 constructor(*hash<auto> options);
55
56
58 string getName();
59
60
62 setLogger(*LoggerInterface logger);
63
64
66
68protected:
70public:
71
72
74
78protected:
79 *DataProvider::AbstractDataProvider getChildProviderImpl(string name);
80public:
81
82
84protected:
85 *hash<auto> getMetadata();
86public:
87
88
90protected:
91 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
92public:
93
94
96protected:
97 static *hash<auto> getClientOptions(*hash<auto> copts);
98public:
99
100};
101};
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:45
The CdsRest data provider class.
Definition CdsRestTablesDataProvider.qc.dox.h:28
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
static hash< DataProviderSummaryInfo > ProviderSummaryInfo
Provider summary info.
Definition CdsRestTablesDataProvider.qc.dox.h:36
constructor(CdsRestClient::CdsRestClient rest)
Creates the object from the arguments.
static *hash< auto > getClientOptions(*hash< auto > copts)
Returns options for the CdsRestClient.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*hash< auto > meta
Metadata keyed by entity type.
Definition CdsRestTablesDataProvider.qc.dox.h:42
Qore::Thread::Mutex lck()
Metadata mutex.
string getName()
Returns the data provider name.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
setLogger(*LoggerInterface logger)
Accepts a LoggerInterface object for logging (or clears it)
const ProviderInfo
Provider info.
Definition CdsRestTablesDataProvider.qc.dox.h:32
*hash< auto > getMetadata()
Returns metadata.
constructor(*hash< auto > options)
Creates the object from constructor options.
Qore CdsRestDataProvider module definition.
Definition CdsEntityDataProvider.qc.dox.h:26