$darkmode
Qore ElasticSearchDataProvider Module Reference 1.0
ElasticSearchPipelineDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace ElasticSearchDataProvider {
28 
31 
32 public:
34  const ProviderInfo = <DataProviderInfo>{
35  "name": "pipeline",
36  "desc": "ElasticSearch pipeline data provider; provides access to operations on ElasticSearch pipelines",
37  "type": "ElasticSearchPipelineDataProvider",
38  "constructor_options": ElasticSearchDataProvider::ConstructorOptions,
39  "supports_children": True,
40  "children_can_support_apis": True,
41  };
42 
44  const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
45  AbstractDataProvider::DataProviderSummaryInfoKeys
46  });
47 
48 protected:
49  const ChildMap = {
50  // CRUD operations
51  "create": Class::forName("ElasticSearchDataProvider::ElasticSearchPipelineCreateDataProvider"),
52  "read": Class::forName("ElasticSearchDataProvider::ElasticSearchPipelineReadDataProvider"),
53  "update": Class::forName("ElasticSearchDataProvider::ElasticSearchPipelineUpdateDataProvider"),
54  "delete": Class::forName("ElasticSearchDataProvider::ElasticSearchPipelineDeleteDataProvider"),
55 
56  "read-all": Class::forName("ElasticSearchDataProvider::ElasticSearchPipelineReadAllDataProvider"),
57  };
58 
59 public:
60 
62  constructor(*hash<auto> options);
63 
64 
67 
68 
70  string getName();
71 
72 
74  *string getDesc();
75 
76 
78  *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
79 
80 
82 
84 protected:
85  *list<string> getChildProviderNamesImpl();
86 public:
87 
88 
90 
94 protected:
96 public:
97 
98 
100  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
101 
102 };
103 };
The AWS REST client base data provider class.
Definition: ElasticSearchDataProviderBase.qc.dox.h:28
const ConstructorOptions
Constructor options.
Definition: ElasticSearchDataProvider.qc.dox.h:61
The ElasticSearch pipeline API root data provider.
Definition: ElasticSearchPipelineDataProvider.qc.dox.h:30
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
*string getDesc()
Returns the data provider description.
string getName()
Returns the data provider name.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
const ProviderInfo
Provider info.
Definition: ElasticSearchPipelineDataProvider.qc.dox.h:34
constructor(*hash< auto > options)
Creates the object from constructor options.
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchPipelineDataProvider.qc.dox.h:44
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
const True
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26