| Qore DbDataProvider Module Reference 2.2

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