$darkmode
Qore ElasticSearchDataProvider Module Reference 1.0
ElasticSearchPipelineReadAllDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28
31
32public:
35
37 const ProviderInfo = <DataProviderInfo>{
38 "name": "read-all",
39 "desc": "ElasticSearch pipeline read all API data provider",
40 "type": "ElasticSearchPipelineReadAllDataProvider",
42 "supports_request": True,
43 };
44
46 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
47 AbstractDataProvider::DataProviderSummaryInfoKeys
48 });
49
52
55
57 const QueryArgs = ("master_timeout");
58
60 constructor(*hash<auto> options);
61
62
65
66
68 string getName();
69
70
72 *string getDesc();
73
74
76
81protected:
82 auto doRequestImpl(auto req, *hash<auto> request_options);
83public:
84
85
87
89protected:
91public:
92
93
95
97protected:
99public:
100
101
103 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
104
105};
106
109
110public:
111protected:
113 const Fields = {
114 // query parameters
115 "master_timeout": {
116 "type": StringOrNothingType,
117 "desc": "Period to wait for a connection to the master node (default: `30s`). If no response is "
118 "received before the timeout expires, the request fails and returns an error",
119 },
120 };
121
122public:
123
126
127};
128};
const ConstructorOptions
Constructor options.
Definition: ElasticSearchDataProvider.qc.dox.h:64
The ElasticSearch read all pipelines API data provider.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:30
const QueryArgs
Query args.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:57
const ResponseType
Response type.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:54
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ProviderInfo
Provider info.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:37
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:46
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const RequestType
Request type.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:51
RestClient::RestClient rest
REST client connection.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:34
constructor(*hash< auto > options)
Creates the object from constructor options.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
*string getDesc()
Returns the data provider description.
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
ElasticSearch pipeline read API request.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:108
const Fields
Field descriptions.
Definition: ElasticSearchPipelineReadAllDataProvider.qc.dox.h:113
ElasticSearch pipeline read API response.
Definition: ElasticSearchPipelineReadDataProvider.qc.dox.h:137
const True
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26