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  "children_can_support_records": True,
40  };
41 
42 public:
43 
45 
47 protected:
48  hash<DataProviderFactoryInfo> getInfoImpl();
49 public:
50 
51 
53 
55 protected:
56  hash<DataProviderInfo> getProviderInfoImpl();
57 public:
58 
59 
61 protected:
62  Class getClassImpl();
63 public:
64 
65 
67 
83 protected:
84  AbstractDataProvider getProviderFromExampleImpl(InputStream example, *hash<auto> constructor_options);
85 public:
86 
87 
89 
97 protected:
98  list<hash<auto>> getExampleProviderRecordOutputImpl(InputStream example, *hash<auto> constructor_options);
99 public:
100 
101 };
102 };
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.
const True
the CsvUtil namespace. All classes used in the CsvUtil module should be inside this namespace
Definition: AbstractCsvIterator.qc.dox.h:28