Qore DataProvider Module Reference  1.0.3
AbstractDataProcessor.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // assume local scope for variables, do not use "$" signs
26 // require type definitions everywhere
28 // enable all warnings
29 
31 namespace DataProvider {
34 
35 public:
36 protected:
38  *hash<auto> thread_local_data;
39 
41  *list<string> thread_local_data_keys;
42 
43 public:
44 
47 
48 
50 
55 
56 
58 
63 
64 
66 
71 
72 
74 
86  auto submit(code enqueue, auto _data);
87 
88 
90 
92 protected:
94 public:
95 
96 
98 
100 protected:
102 public:
103 
104 
106 
112 protected:
113  abstract submitImpl(code enqueue, auto _data);
114 public:
115 
117 
121 protected:
122  abstract bool supportsBulkApiImpl();
123 public:
124 };
125 };
DataProvider::AbstractDataProcessor::supportsBulkApi
bool supportsBulkApi()
Returns True if the data processor supports bulk operation.
DataProvider::AbstractDataProcessor::getReturnType
AbstractDataProviderType getReturnType()
Returns the type of data that will be returned, if available.
DataProvider::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:93
DataProvider::AbstractDataProcessor::getReturnTypeImpl
*AbstractDataProviderType getReturnTypeImpl()
Returns the type of data that will be returned, if available.
DataProvider::AbstractDataProcessor::thread_local_data
*hash< auto > thread_local_data
Thread-local data to set before running the processor.
Definition: AbstractDataProcessor.qc.dox.h:38
DataProvider::AbstractDataProcessor::submit
auto submit(code enqueue, auto _data)
Submits the data for processing.
DataProvider::AbstractDataProcessor::getExpectedType
AbstractDataProviderType getExpectedType()
Returns the expected type of data to be submitted, if available.
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
DataProvider::AbstractDataProcessor
Defines an abstract class for accepting data and outputting optionally transformed or filtered data.
Definition: AbstractDataProcessor.qc.dox.h:33
DataProvider::AbstractDataProcessor::supportsBulkApiImpl
abstract bool supportsBulkApiImpl()
Returns True if the data processor supports bulk operation.
DataProvider::AbstractDataProcessor::setThreadLocalData
setThreadLocalData(*hash< auto > thread_local_data)
Sets thread-local data to set before running the processor.
DataProvider::AbstractDataProcessor::thread_local_data_keys
*list< string > thread_local_data_keys
Thread-local data keys from thread_local_data.
Definition: AbstractDataProcessor.qc.dox.h:41
DataProvider::AbstractDataProcessor::getExpectedTypeImpl
*AbstractDataProviderType getExpectedTypeImpl()
Returns the expected type of data to be submitted, if available.
DataProvider::AbstractDataProcessor::submitImpl
abstract submitImpl(code enqueue, auto _data)
Submits the data for processing.