Qore ElasticSearchDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
ElasticSearchDocumentDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28
31
32public:
34 const ProviderInfo = <DataProviderInfo>{
35 "name": "document",
36 "desc": "ElasticSearch document data provider; provides access to operations on ElasticSearch documents",
37 "type": "ElasticSearchDocumentDataProvider",
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::ElasticSearchDocumentCreateDataProvider"),
51 "read": Class::forName("ElasticSearchDataProvider::ElasticSearchDocumentReadDataProvider"),
52 "update": Class::forName("ElasticSearchDataProvider::ElasticSearchDocumentUpdateDataProvider"),
53 "delete": Class::forName("ElasticSearchDataProvider::ElasticSearchDocumentDeleteDataProvider"),
54 };
55
56public:
57
59 constructor(*hash<auto> options);
60
61
64
65
67 string getName();
68
69
71 *string getDesc();
72
73
75 *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
76
77
79
81protected:
83public:
84
85
87
91protected:
93public:
94
95
97 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
98
99};
100};
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 document API root data provider.
Definition: ElasticSearchDocumentDataProvider.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: ElasticSearchDocumentDataProvider.qc.dox.h:34
string getName()
Returns the data provider name.
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
*string getDesc()
Returns the data provider description.
constructor(*hash< auto > options)
Creates the object from constructor options.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchDocumentDataProvider.qc.dox.h:44
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26