| Qore DbDataProvider Module Reference 2.2

Loading...
Searching...
No Matches
DbTablesDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace DbDataProvider {
28
31 class DbTablesDataProvider : public DbDataProviderBase {
32
33 public:
35 const ProviderInfo = ...;
36
37
39 const ProviderSummaryInfo = ...;
40
41
43 const ChildCreateOptions = ...;
44
45
47 constructor(AbstractDatasource ds, *hash<auto> opts) ;
48
49
51 constructor(AbstractDatabase db, *LoggerInterface logger) ;
52
53
55 constructor(*hash<auto> options) ;
56
57
59 string getName();
60
61
63 *string getDesc();
64
65
67 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
68
69
71
73 protected:
74 *list<string> getChildProviderNamesImpl();
75 public:
76
77
79
85 protected:
86 *AbstractDataProvider getChildProviderImpl(string name);
87 public:
88
89
91 protected:
92 hash<DataProviderInfo> getStaticInfoImpl();
93 public:
94
95
97
103 protected:
104 AbstractDataProvider createChildProviderImpl(string name, hash<string, AbstractDataField> fields, *hash<auto> child_create_options);
105 public:
106
107
109
114 protected:
115 deleteChildProviderImpl(string name, *hash<auto> child_delete_options);
116 public:
117
118};
119};
DbDataProvider::DbDataProviderBase
The database data provider base class.
Definition DbDataProviderBase.qc.dox.h:28
DbDataProvider::DbDataProviderBase::db
AbstractDatabase db
the database object, if required
Definition DbDataProviderBase.qc.dox.h:33
DbDataProvider::DbTablesDataProvider
The database tables data provider class, provides tables as children.
Definition DbTablesDataProvider.qc.dox.h:31
DbDataProvider::DbTablesDataProvider::constructor
constructor(AbstractDatabase db, *LoggerInterface logger)
creates the object
DbDataProvider::DbTablesDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition DbTablesDataProvider.qc.dox.h:39
DbDataProvider::DbTablesDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition DbTablesDataProvider.qc.dox.h:35
DbDataProvider::DbTablesDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
DbDataProvider::DbTablesDataProvider::getChildProviderSummaryInfo
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
DbDataProvider::DbTablesDataProvider::constructor
constructor(AbstractDatasource ds, *hash< auto > opts)
creates the object
DbDataProvider::DbTablesDataProvider::deleteChildProviderImpl
deleteChildProviderImpl(string name, *hash< auto > child_delete_options)
Deletes a child data provider.
DbDataProvider::DbTablesDataProvider::getDesc
*string getDesc()
Returns the data provider description.
DbDataProvider::DbTablesDataProvider::getChildProviderImpl
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
DbDataProvider::DbTablesDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
DbDataProvider::DbTablesDataProvider::ChildCreateOptions
const ChildCreateOptions
Child provider creation options.
Definition DbTablesDataProvider.qc.dox.h:43
DbDataProvider::DbTablesDataProvider::getName
string getName()
Returns the data provider name.
DbDataProvider::DbTablesDataProvider::createChildProviderImpl
AbstractDataProvider createChildProviderImpl(string name, hash< string, AbstractDataField > fields, *hash< auto > child_create_options)
Creates a new child data provider and returns it after adding as a child.
DbDataProvider::DbTablesDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition AbstractDbRecordIterator.qc.dox.h:26