Qore DataProvider Module Reference
1.0.2
|
Defines an abstract class for accepting data and outputting optionally transformed or filtered data. More...
Public Member Methods | |
AbstractDataProviderType | getExpectedType () |
Returns the expected type of data to be submitted, if available. More... | |
AbstractDataProviderType | getReturnType () |
Returns the type of data that will be returned, if available. More... | |
auto | submit (auto _data) |
Submits the data for processing. More... | |
bool | supportsBulkApi () |
Returns True if the data processor supports bulk operation. More... | |
Private Member Methods | |
*AbstractDataProviderType | getExpectedTypeImpl () |
Returns the expected type of data to be submitted, if available. More... | |
*AbstractDataProviderType | getReturnTypeImpl () |
Returns the type of data that will be returned, if available. More... | |
abstract auto | submitImpl (auto _data) |
Submits the data for processing. More... | |
abstract bool | supportsBulkApiImpl () |
Returns True if the data processor supports bulk operation. More... | |
Defines an abstract class for accepting data and outputting optionally transformed or filtered data.
AbstractDataProviderType DataProvider::AbstractDataProcessor::getExpectedType | ( | ) |
Returns the expected type of data to be submitted, if available.
|
private |
Returns the expected type of data to be submitted, if available.
This base class method returns NOTHING; reimplement in subclasses to provide a type
AbstractDataProviderType DataProvider::AbstractDataProcessor::getReturnType | ( | ) |
Returns the type of data that will be returned, if available.
|
private |
Returns the type of data that will be returned, if available.
This base class method returns NOTHING; reimplement in subclasses to provide a type
auto DataProvider::AbstractDataProcessor::submit | ( | auto | _data | ) |
Submits the data for processing.
_data | the data to process |
DPE-SKIP-DATA | throw this exception to tell the DataProviderPipeline skip processing the data for the rest of the queue |
|
privatepure virtual |
Submits the data for processing.
_data | the data to process |
DPE-SKIP-DATA | throw this exception to tell the DataProviderPipeline to skip processing the data for the rest of the queue |
bool DataProvider::AbstractDataProcessor::supportsBulkApi | ( | ) |
Returns True if the data processor supports bulk operation.