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:
34 const ProviderInfo = <DataProviderInfo>{
35 "name": "index",
36 "desc": "ElasticSearch index data provider; provides access to operations on ElasticSearch indices",
37 "type": "ElasticSearchIndexDataProvider",
39 "supports_children": True,
40 "children_can_support_apis": True,
41 };
42
44 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
45 AbstractDataProvider::DataProviderSummaryInfoKeys
46 });
47
48protected:
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
58public:
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
83protected:
85public:
86
87
89
93protected:
95public:
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
*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:34
*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.
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.
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26