Qore CdsRestDataProvider Module Reference 2.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 Functions

 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 Functions 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.
 

Protected Member Functions

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

Static Protected Member Functions

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

Protected Attributes

*hash< auto > meta
 Metadata keyed by entity type.
 
- Protected 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)
protected

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 ( )
protected

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

Returns
a list of child data provider names, if any