| Qore ElasticSearchDataProvider Module Reference 1.1

Loading...
Searching...
No Matches
ElasticSearchDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace ElasticSearchDataProvider {
28 const AppName = "ElasticSearch";
29
31 class ElasticSearchDataProvider : public ElasticSearchDataProviderBase {
32
33 public:
35 string uri_path = "/";
36
38 string display_name;
39
41 const ProviderInfo = ...;
42
43
45 const ConstructorOptions = ...;
46
47
48 protected:
49 const ChildMap = ...;
50
51
52 public:
53
55 constructor(*hash<auto> options);
56
57
59 setLogger(*LoggerInterface logger);
60
61
62 static RestClient::RestClient getRestConnection(*hash<auto> options);
63
65 string getName();
66
67
69 *string getDesc();
70
71
73 *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
74
75
77
79 protected:
80 *list<string> getChildProviderNamesImpl();
81 public:
82
83
85
89 protected:
90 *DataProvider::AbstractDataProvider getChildProviderImpl(string name);
91 public:
92
93
95 protected:
96 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
97 public:
98
99};
100
102 const SoftBoolStringType = new SoftBoolStringType();
103
105 const SoftBoolDataProviderStringType = AbstractDataProviderType::get(SoftBoolStringType);
106
108 class SoftBoolStringType : public Qore::Reflection::Type {
109
110 public:
112 constructor() ;
113
114
116 auto acceptsValue(auto value);
117
118
120 auto getDefaultValue();
121
122};
123};
DataProvider::AbstractDataProvider
ElasticSearchDataProvider::ElasticSearchDataProviderBase
The ElasticSearch data provider base class.
Definition ElasticSearchDataProviderBase.qc.dox.h:28
ElasticSearchDataProvider::ElasticSearchDataProvider::setLogger
setLogger(*LoggerInterface logger)
Accepts a LoggerInterface object for logging (or clears it)
ElasticSearchDataProvider::ElasticSearchDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
ElasticSearchDataProvider::ElasticSearchDataProvider::getDesc
*string getDesc()
Returns the data provider description.
ElasticSearchDataProvider::ElasticSearchDataProvider::getChildProviderImpl
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
ElasticSearchDataProvider::ElasticSearchDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
ElasticSearchDataProvider::ElasticSearchDataProvider::display_name
string display_name
The value to returns as the name of the object.
Definition ElasticSearchDataProvider.qc.dox.h:38
ElasticSearchDataProvider::ElasticSearchDataProvider::getChildProviderSummaryInfo
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
ElasticSearchDataProvider::ElasticSearchDataProvider::ConstructorOptions
const ConstructorOptions
Constructor options.
Definition ElasticSearchDataProvider.qc.dox.h:45
ElasticSearchDataProvider::ElasticSearchDataProvider::getName
string getName()
Returns the data provider name.
ElasticSearchDataProvider::ElasticSearchDataProvider::uri_path
string uri_path
current URI path
Definition ElasticSearchDataProvider.qc.dox.h:35
ElasticSearchDataProvider::ElasticSearchDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition ElasticSearchDataProvider.qc.dox.h:41
ElasticSearchDataProvider::ElasticSearchDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
ElasticSearchDataProvider::SoftBoolStringType
Boolean string type.
Definition ElasticSearchDataProvider.qc.dox.h:108
ElasticSearchDataProvider::SoftBoolStringType::getDefaultValue
auto getDefaultValue()
Returns the default value for the type or NOTHING if the type has no default value.
ElasticSearchDataProvider::SoftBoolStringType::acceptsValue
auto acceptsValue(auto value)
Returns the value after any conversions by the type.
ElasticSearchDataProvider::SoftBoolStringType::constructor
constructor()
Creates the object.
RestClient::RestClient
ElasticSearchDataProvider
Qore ElasticSearchDataProvider module definition.
Definition ElasticSearchAcknowledgedDataType.qc.dox.h:26
ElasticSearchDataProvider::AppName
const AppName
ElasticSearch app name.
Definition ElasticSearchDataProvider.qc.dox.h:28
ElasticSearchDataProvider::SoftBoolDataProviderStringType
const SoftBoolDataProviderStringType
Boolean data provider string type for query parameters.
Definition ElasticSearchDataProvider.qc.dox.h:105
ElasticSearchDataProvider::SoftBoolStringType
const SoftBoolStringType
Boolean string type for query parameters.
Definition ElasticSearchDataProvider.qc.dox.h:102