 |
Qore CsvUtil Module Reference
1.7
|
35 "type":
"CsvWriteDataProvider",
36 "supports_create":
True,
43 "path": <DataProviderOptionInfo>{
44 "type": AbstractDataProviderType::get(StringType),
45 "desc":
"the path to the CSV data; mutually exclusive with \"stream\"",
47 "stream": <DataProviderOptionInfo>{
48 "type": AbstractDataProviderType::get(
new Type(
"OutputStream")),
49 "desc":
"an output stream for CSV data; mutually exclusive with \"path\"",
51 "opts": <DataProviderOptionInfo>{
52 "type": AbstractDataProviderType::get(AutoHashType),
53 "desc":
"CSV generation options",
constructor(string path, *hash< auto > opts)
Creates the CsvWriteDataProvider with the output path and optionally an option hash.
*hash< auto > createRecordImpl(hash< auto > rec, *hash< auto > create_options)
Creates the given record to the data provider.
const ConstructorOptions
Constructor options.
Definition: CsvWriteDataProvider.qc.dox.h:42
the CsvUtil namespace. All classes used in the CsvUtil module should be inside this namespace
Definition: AbstractCsvIterator.qc.dox.h:28
AbstractCsvWriter writer
the writer object
Definition: CsvWriteDataProvider.qc.dox.h:59
string getName()
Returns the object name.
The AbstractCsvWriter class provides a parent for all CSV writers.
Definition: AbstractCsvWriter.qc.dox.h:139
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*hash< string, AbstractDataField > getRecordTypeImpl(*hash< auto > search_options)
Returns the description of the record type, if any.
const ProviderInfo
Provider info.
Definition: CsvWriteDataProvider.qc.dox.h:34
Provides a data provider for reading CSV files.
Definition: CsvWriteDataProvider.qc.dox.h:30