Loading...
Searching...
No Matches
ElasticSearchIndexDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace ElasticSearchDataProvider {
class ElasticSearchIndexDataProvider : public ElasticSearchDataProviderBase {
public:
const ProviderInfo = <DataProviderInfo>{
"name": "index",
"desc": "ElasticSearch index data provider; provides access to operations on ElasticSearch indices",
"type": "ElasticSearchIndexDataProvider",
"constructor_options": ElasticSearchDataProvider::ConstructorOptions,
"supports_children": True,
"children_can_support_apis": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
protected:
const ChildMap = {
"create": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexCreateDataProvider"),
"read": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexReadDataProvider"),
"delete": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexDeleteDataProvider"),
"read-all": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexReadAllDataProvider"),
"search": Class::forName("ElasticSearchDataProvider::ElasticSearchIndexSearchDataProvider"),
};
public:
constructor(*hash<auto> options);
constructor(RestClient::RestClient rest) ;
string getName();
*string getDesc();
*list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
protected:
*list<string> getChildProviderNamesImpl();
public:
protected:
*DataProvider::AbstractDataProvider getChildProviderImpl(string name);
public:
hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
};
};
DataProvider::AbstractDataProvider
ElasticSearchDataProvider::ElasticSearchDataProviderBase
The AWS REST client base data provider class.
Definition: ElasticSearchDataProviderBase.qc.dox.h:28
ElasticSearchDataProvider::ElasticSearchDataProvider::ConstructorOptions
const ConstructorOptions
Constructor options.
Definition: ElasticSearchDataProvider.qc.dox.h:61
ElasticSearchDataProvider::ElasticSearchIndexDataProvider
The ElasticSearch index API root data provider.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:30
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::getChildProviderImpl
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:34
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::getChildProviderSummaryInfo
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::constructor
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::getDesc
*string getDesc()
Returns the data provider description.
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::getName
string getName()
Returns the data provider name.
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchIndexDataProvider.qc.dox.h:44
ElasticSearchDataProvider::ElasticSearchIndexDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
RestClient::RestClient
ElasticSearchDataProvider
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26