Qore DbDataProvider Module Reference 2.2
Loading...
Searching...
No Matches
DbExecSqlDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26namespace DbDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
40 const RequestType = ExecSqlRequestType;
41
43 const ResponseType = ExecSqlResponseType;
44
46 constructor(AbstractDatasource ds, *hash<auto> opts) ;
47
48
50 constructor(AbstractDatabase db, *LoggerInterface logger) ;
51
52
54 constructor(*hash<auto> options) ;
55
56
58 string getName();
59
60
62 *string getDesc();
63
64
66
71protected:
72 auto doRequestImpl(auto req, *hash<auto> request_options);
73public:
74
75
77
79protected:
80 *AbstractDataProviderType getRequestTypeImpl();
81public:
82
83
85
87protected:
88 *AbstractDataProviderType getResponseTypeImpl();
89public:
90
91
93protected:
94 hash<DataProviderInfo> getStaticInfoImpl();
95public:
96
97};
98
99class ExecSqlRequestType : public HashDataType {
100
101public:
102 const Fields = ...;
103
104
105 constructor();
106
107};
108
109const ExecSqlRequestType = new ExecSqlRequestType();
110
111class ExecSqlResponseType : public HashDataType {
112
113public:
114 const Fields = ...;
115
116
117 constructor();
118
119};
120
121const ExecSqlResponseType = new ExecSqlResponseType();
122};
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
DB exec data provider.
Definition DbExecSqlDataProvider.qc.dox.h:28
const RequestType
Request type.
Definition DbExecSqlDataProvider.qc.dox.h:40
*string getDesc()
Returns the data provider description.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
constructor(AbstractDatasource ds, *hash< auto > opts)
creates the object
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
constructor(*hash< auto > options)
Creates the object from constructor options.
const ProviderSummaryInfo
Provider summary info.
Definition DbExecSqlDataProvider.qc.dox.h:36
const ProviderInfo
Provider info.
Definition DbExecSqlDataProvider.qc.dox.h:32
constructor(AbstractDatabase db, *LoggerInterface logger)
creates the object
const ResponseType
Response type.
Definition DbExecSqlDataProvider.qc.dox.h:43
string getName()
Returns the data provider name.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
Qore AbstractDbRecordIterator class definition.
Definition AbstractDbRecordIterator.qc.dox.h:26