$darkmode
Qore ElasticSearchDataProvider Module Reference 1.0
ElasticSearchIndexDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace ElasticSearchDataProvider {
28 
31 
32 public:
34  const ProviderInfo = <DataProviderInfo>{
35  "name": "index",
36  "desc": "ElasticSearch index data provider; provides access to operations on ElasticSearch indices",
37  "type": "ElasticSearchIndexDataProvider",
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  "create": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexCreateDataProvider"),
51  "read": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexReadDataProvider"),
52  "delete": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexDeleteDataProvider"),
53 
54  "read-all": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexReadAllDataProvider"),
55  "search": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexSearchDataProvider"),
56  };
57 
58 public:
59 
61  constructor(*hash<auto> options);
62 
63 
66 
67 
69  string getName();
70 
71 
73  *string getDesc();
74 
75 
77  *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
78 
79 
81 
83 protected:
84  *list<string> getChildProviderNamesImpl();
85 public:
86 
87 
89 
93 protected:
95 public:
96 
97 
99  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
100 
101 };
102 };
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 index API root data provider.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:30
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
const ProviderInfo
Provider info.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:34
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
*string getDesc()
Returns the data provider description.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
string getName()
Returns the data provider name.
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:44
constructor(*hash< auto > options)
Creates the object from constructor options.
const True
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26