Qore DbDataProvider Module Reference 2.2
Loading...
Searching...
No Matches
DbTablesDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace DbDataProvider {
28
32
33public:
35 const ProviderInfo = ...;
36
37
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
73protected:
75public:
76
77
79
85protected:
86 *AbstractDataProvider getChildProviderImpl(string name);
87public:
88
89
91protected:
92 hash<DataProviderInfo> getStaticInfoImpl();
93public:
94
95
97
103protected:
104 AbstractDataProvider createChildProviderImpl(string name, hash<string, AbstractDataField> fields, *hash<auto> child_create_options);
105public:
106
107
109
114protected:
115 deleteChildProviderImpl(string name, *hash<auto> child_delete_options);
116public:
117
118};
119};
The database data provider base class.
Definition DbDataProviderBase.qc.dox.h:28
AbstractDatabase db
the database object, if required
Definition DbDataProviderBase.qc.dox.h:33
The database tables data provider class, provides tables as children.
Definition DbTablesDataProvider.qc.dox.h:31
constructor(AbstractDatabase db, *LoggerInterface logger)
creates the object
const ProviderSummaryInfo
Provider summary info.
Definition DbTablesDataProvider.qc.dox.h:39
const ProviderInfo
Provider info.
Definition DbTablesDataProvider.qc.dox.h:35
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
constructor(AbstractDatasource ds, *hash< auto > opts)
creates the object
deleteChildProviderImpl(string name, *hash< auto > child_delete_options)
Deletes a child data provider.
*string getDesc()
Returns the data provider description.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
constructor(*hash< auto > options)
Creates the object from constructor options.
const ChildCreateOptions
Child provider creation options.
Definition DbTablesDataProvider.qc.dox.h:43
string getName()
Returns the data provider name.
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.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
Qore AbstractDbRecordIterator class definition.
Definition AbstractDbRecordIterator.qc.dox.h:26