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