Qore ElasticSearchDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
ElasticSearchPipelineCreateDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28
31
32public:
35
37 const ProviderInfo = <DataProviderInfo>{
38 "name": "create",
39 "desc": "ElasticSearch pipeline create API data provider",
40 "type": "ElasticSearchPipelineCreateDataProvider",
42 "supports_request": True,
43 };
44
46 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
47 AbstractDataProvider::DataProviderSummaryInfoKeys
48 });
49
52
55
57 const QueryArgs = ("if_version", "master_timeout", "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 "pipeline": {
116 "type": StringType,
117 "desc": "The name of the pipeline to create",
118 },
119 "if_version": {
120 "type": IntOrNothingType,
121 "desc": "Perform the operation only if the pipeline has this version. If specified and the update is "
122 "successful, the pipeline’s version is incremented",
123 },
124 "master_timeout": {
125 "type": StringOrNothingType,
126 "desc": "Period to wait for a connection to the master node (default: `30s`). If no response is "
127 "received before the timeout expires, the request fails and returns an error",
128 },
129 "timeout": {
130 "type": StringOrNothingType,
131 "desc": "Period to wait for a response (default: `30s`). If no response is received before the "
132 "timeout expires, the request fails and returns an error",
133 },
134 };
135
136public:
137
140
141};
142};
The acknowledged response type.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:28
const ConstructorOptions
Constructor options.
Definition: ElasticSearchDataProvider.qc.dox.h:64
The ElasticSearch pipeline create API data provider.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:30
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:46
const RequestType
Request type.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:51
const ResponseType
Response type.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:54
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
RestClient::RestClient rest
REST client connection.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:34
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ProviderInfo
Provider info.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:37
*string getDesc()
Returns the data provider description.
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.
const QueryArgs
Query args.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:57
Create pipeline request data type.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:108
const Fields
Field descriptions.
Definition: ElasticSearchPipelineCreateDataProvider.qc.dox.h:113
Base data type for pipeline types.
Definition: ElasticSearchPipelineDataTypeBase.qc.dox.h:28
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26