Qore CsvUtil Module Reference  1.10
CsvReadDataProviderFactory.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace CsvUtil {
28 class CsvReadDataProviderFactory : public AbstractDataProviderFactory {
29 
30 public:
31 protected:
33  static Class cls = new Class("CsvReadDataProvider");
34 
36  const FactoryInfo = <DataProviderFactoryInfo>{
37  "name": "csvread",
38  "desc": "CSV reader data provider factory",
39  };
40 
41 public:
42 
44 
46 protected:
47  hash<DataProviderFactoryInfo> getInfoImpl();
48 public:
49 
50 
52 
54 protected:
55  hash<DataProviderInfo> getProviderInfoImpl();
56 public:
57 
58 
60 protected:
61  Class getClassImpl();
62 public:
63 
64 
66 
82 protected:
83  AbstractDataProvider getProviderFromExampleImpl(InputStream example, *hash<auto> constructor_options);
84 public:
85 
86 
88 
96 protected:
97  list<hash<auto>> getExampleProviderRecordOutputImpl(InputStream example, *hash<auto> constructor_options);
98 public:
99 
100 };
101 };
The read-only CSV data provider factory.
Definition: CsvReadDataProviderFactory.qc.dox.h:28
hash< DataProviderInfo > getProviderInfoImpl()
Returns static provider information.
hash< DataProviderFactoryInfo > getInfoImpl()
Returns static factory information without provider_info.
Class getClassImpl()
Returns the class for the data provider object.
static Class cls
Data provider type info.
Definition: CsvReadDataProviderFactory.qc.dox.h:33
AbstractDataProvider getProviderFromExampleImpl(InputStream example, *hash< auto > constructor_options)
Returns a data provider given the example data and constructor options as arguments.
const FactoryInfo
Factory info.
Definition: CsvReadDataProviderFactory.qc.dox.h:36
list< hash< auto > > getExampleProviderRecordOutputImpl(InputStream example, *hash< auto > constructor_options)
Returns information about a data provider constructor given the example data as an argument.
the CsvUtil namespace. All classes used in the CsvUtil module should be inside this namespace
Definition: AbstractCsvIterator.qc.dox.h:28