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>

Inherits DataProvider::AbstractDataProvider.

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.
 

Public Attributes

const ConstructorOptions
 Constructor options.
 
const EnvOptions
 Environment options.
 
const HttpMethods
 Hash of HTTP Methods.
 
const ProviderInfo
 Provider info.
 
CdsRestClient::CdsRestClient rest
 The REST client object for API calls.
 

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.
 

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