Provides a data provider for reading XML files.
More...
#include <SaxDataProvider.qc.dox.h>
Inherits DataProvider::AbstractDataProvider.
|
| constructor (*hash< auto > options) |
| Creates the object from constructor options.
|
|
string | getName () |
| Returns the object name.
|
|
private AbstractDataProviderRecordIterator | searchRecordsImpl (*hash< DataProviderExpression > where_cond, *hash< auto > search_options) |
| Returns an iterator for zero or more records matching the search options. More...
|
|
|
const | ProviderInfo |
| Provider info.
|
|
const | ConstructorOptions |
| Constructor options.
|
|
const | CsvIterationOptionList = keys (ConstructorOptions - ("path", "stream")) |
| XML iteration option list.
|
|
|
AbstractDataProviderRecordIterator | searchRecordsImpl (*hash< auto > where_cond, *hash< auto > search_options) |
| Returns an iterator for zero or more records matching the search options. More...
|
|
*hash< string, AbstractDataField > | getRecordTypeImpl (*hash< auto > search_options) |
| Returns the description of the record type, if any.
|
|
hash< DataProviderInfo > | getStaticInfoImpl () |
| Returns data provider static info.
|
|
|
SaxIteratorWrapper | i |
| the iterator object
|
|
string | location |
| the source location
|
|
Provides a data provider for reading XML files.
Supports generic record search operators and options
- Note
- If the SAX iterator does not return a hash for each iteration, then this data provider will return A hash with the deserialized XML data returned in the
data
key
◆ searchRecordsImpl() [1/2]
AbstractDataProviderRecordIterator SaxDataProvider::SaxDataProvider::searchRecordsImpl |
( |
*hash< auto > |
where_cond, |
|
|
*hash< auto > |
search_options |
|
) |
| |
|
private |
Returns an iterator for zero or more records matching the search options.
- Parameters
-
where_cond | the search criteria |
search_options | the search options after processing by validateSearchOptions() |
◆ searchRecordsImpl() [2/2]
private AbstractDataProviderRecordIterator SaxDataProvider::SaxDataProvider::searchRecordsImpl |
( |
*hash< DataProviderExpression > |
where_cond, |
|
|
*hash< auto > |
search_options |
|
) |
| |
|
inline |
Returns an iterator for zero or more records matching the search options.
- Parameters
-
where_cond | the search criteria |
search_options | the search options after processing by validateSearchOptions() |
The documentation for this class was generated from the following file:
- doxygen/qlib/SaxDataProvider/SaxDataProvider.qc.dox.h