Loading...
Searching...
No Matches
ElasticSearchIndexesDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace ElasticSearchDataProvider {
class ElasticSearchIndexesDataProvider : public ElasticSearchDataProviderBase {
public:
const ProviderInfo = <DataProviderInfo>{
"name": "indexes",
"desc": "ElasticSearch indexes data provider; provdes table-like access to ElasticSearch indices",
"type": "ElasticSearchIndexesDataProvider",
"constructor_options": ElasticSearchDataProvider::ConstructorOptions,
"supports_children": True,
"children_can_support_records": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
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();
protected:
*hash<auto> getAllIndices();
public:
protected:
*hash<auto> getIndex(string name);
public:
};
};
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::ElasticSearchIndexesDataProvider
The ElasticSearch indexes root for providing record-based data providers for each index.
Definition: ElasticSearchIndexesDataProvider.qc.dox.h:28
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::getChildProviderSummaryInfo
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::constructor
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::getChildProviderImpl
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::getIndex
*hash< auto > getIndex(string name)
Returns a hash of the given index or NOTHING.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: ElasticSearchIndexesDataProvider.qc.dox.h:32
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::getAllIndices
*hash< auto > getAllIndices()
Returns a hash of indices.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::getName
string getName()
Returns the data provider name.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::getDesc
*string getDesc()
Returns the data provider description.
ElasticSearchDataProvider::ElasticSearchIndexesDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchIndexesDataProvider.qc.dox.h:42
RestClient::RestClient
ElasticSearchDataProvider
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26