Qore CdsRestDataProvider Module Reference 1.0.0
Loading...
Searching...
No Matches
CdsRestDataProvider::CdsRestDataProvider Class Reference

The CdsRest data provider class. More...

#include <CdsRestDataProvider.qc.dox.h>

Inheritance diagram for CdsRestDataProvider::CdsRestDataProvider:
[legend]

Public Member Methods

 constructor (*hash< auto > options)
 Creates the object from constructor options.
 
 constructor (CdsRestClient::CdsRestClient rest)
 Creates the object from the arguments.
 
string getName ()
 Returns the data provider name.
 
 setLogger (*LoggerInterface logger)
 Accepts a LoggerInterface object for logging (or clears it)
 
- Public Member Methods inherited from CdsRestDataProvider::CdsRestDataProviderBase
 constructor ()
 Creates the object.
 
 constructor (CdsRestClient::CdsRestClient rest)
 Creates the object.
 
 setLogger (*LoggerInterface logger)
 Accepts a LoggerInterface object for logging (or clears it)
 

Public Attributes

const ConstructorOptions
 Constructor options.
 
const EnvOptions
 Environment options.
 
const HttpMethods
 Hash of HTTP Methods.
 
const ProviderInfo
 Provider info.
 

Private Member Methods

*DataProvider::AbstractDataProvider getChildProviderImpl (string name)
 Returns the given child provider or NOTHING if the given child is unknown. More...
 
*list< string > getChildProviderNamesImpl ()
 Returns a list of child data provider names, if any. More...
 
*hash< auto > getMetadata ()
 Returns metadata.
 
hash< DataProvider::DataProviderInfogetStaticInfoImpl ()
 Returns data provider static info.
 
Qore::Thread::Mutex lck ()
 Metadata mutex.
 

Static Private Member Methods

static *hash< auto > getClientOptions (*hash< auto > copts)
 Returns options for the CdsRestClient.
 

Private Attributes

*hash< auto > meta
 Metadata keyed by entity type.
 
- Private Attributes inherited from CdsRestDataProvider::CdsRestDataProviderBase
CdsRestClient::CdsRestClient rest
 The REST client object for API calls.
 

Detailed Description

The CdsRest data provider class.

Member Function Documentation

◆ getChildProviderImpl()

*DataProvider::AbstractDataProvider CdsRestDataProvider::CdsRestDataProvider::getChildProviderImpl ( string  name)
private

Returns the given child provider or NOTHING if the given child is unknown.

Returns
the given child provider or NOTHING if the given child is unknown
See also
getChildProviderEx()

◆ getChildProviderNamesImpl()

*list< string > CdsRestDataProvider::CdsRestDataProvider::getChildProviderNamesImpl ( )
private

Returns a list of child data provider names, if any.

Returns
a list of child data provider names, if any