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:
35
37 const ProviderInfo = <DataProviderInfo>{
38 "name": "document",
39 "desc": "ElasticSearch document data provider; provides access to operations on ElasticSearch documents",
40 "type": "ElasticSearchDocumentDataProvider",
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::ElasticSearchDocumentCreateDataProvider"),
54 "read": Class::forName("ElasticSearchDataProvider::ElasticSearchDocumentReadDataProvider"),
55 "update": Class::forName("ElasticSearchDataProvider::ElasticSearchDocumentUpdateDataProvider"),
56 "delete": Class::forName("ElasticSearchDataProvider::ElasticSearchDocumentDeleteDataProvider"),
57 };
58
59public:
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
84protected:
86public:
87
88
90
94protected:
96public:
97
98
100 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
101
102};
103};
const ConstructorOptions
Constructor options.
Definition: ElasticSearchDataProvider.qc.dox.h:64
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:37
string getName()
Returns the data provider name.
RestClient::RestClient rest
REST client connection.
Definition: ElasticSearchDocumentDataProvider.qc.dox.h:34
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:47
*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