Qore ElasticSearchDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
ElasticSearchIndexDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28
31
32public:
35
37 const ProviderInfo = <DataProviderInfo>{
38 "name": "index",
39 "desc": "ElasticSearch index data provider; provides access to operations on ElasticSearch indices",
40 "type": "ElasticSearchIndexDataProvider",
42 "supports_children": True,
43 "children_can_support_apis": True,
44 };
45
47 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
48 AbstractDataProvider::DataProviderSummaryInfoKeys
49 });
50
51protected:
52 const ChildMap = {
53 "create": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexCreateDataProvider"),
54 "read": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexReadDataProvider"),
55 "delete": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexDeleteDataProvider"),
56
57 "read-all": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexReadAllDataProvider"),
58 "search": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexSearchDataProvider"),
59 };
60
61public:
62
64 constructor(*hash<auto> options);
65
66
69
70
72 string getName();
73
74
76 *string getDesc();
77
78
80 *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
81
82
84
86protected:
88public:
89
90
92
96protected:
98public:
99
100
102 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
103
104};
105};
const ConstructorOptions
Constructor options.
Definition: ElasticSearchDataProvider.qc.dox.h:64
The ElasticSearch index API root data provider.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:30
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*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:37
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
*string getDesc()
Returns the data provider description.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
RestClient::RestClient rest
REST client connection.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:34
string getName()
Returns the data provider name.
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:47
constructor(*hash< auto > options)
Creates the object from constructor options.
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26