34 "type":
"FixedLengthReadDataProvider",
35 "supports_read":
True,
42 "path": <DataProviderOptionInfo>{
43 "type": AbstractDataProviderType::get(StringType),
44 "desc":
"the path to the fixed-length data; mutually exclusive with \"stream\"",
46 "stream": <DataProviderOptionInfo>{
47 "type": AbstractDataProviderType::get(
new Type(
"InputStream")),
48 "desc":
"the input stream for fixed-length data; mutually exclusive with \"path\"",
50 "spec": <DataProviderOptionInfo>{
51 "type": AbstractDataProviderType::get(AutoHashType),
52 "desc":
"the fixed-length record specification hash",
55 "opts": <DataProviderOptionInfo>{
56 "type": AbstractDataProviderType::get(AutoHashType),
57 "desc":
"fixed-length parsing options",
74 constructor(
string path, hash<auto> spec, *hash<auto> opts);
84 constructor(StringInputStream stream, hash<auto> spec, *hash<auto> opts);
95 constructor(InputStream stream, *
string encoding, hash<auto> spec, *hash<auto> opts);
111 AbstractDataProviderRecordIterator
searchRecordsImpl(*hash<auto> where_cond, *hash<auto> search_options);
Structured line iterator for abstract data allowing efficient "pipelined" processing.
Definition: FixedLengthAbstractIterator.qc.dox.h:29
AbstractDataProviderRecordIterator searchRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Returns an iterator for zero or more records matching the search options.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
string getName()
Returns the object name.
*hash< string, AbstractDataField > getRecordTypeImpl(*hash< auto > search_options)
Returns the description of the record type, if any.
FixedLengthAbstractIterator i
The iterator object.
Definition: FixedLengthReadDataProvider.qc.dox.h:63
const ConstructorOptions
Constructor options.
Definition: FixedLengthReadDataProvider.qc.dox.h:41
The FixedLengthUtil namespace contains all the definitions in the FixedLengthUtil module.
Definition: FixedLengthAbstractIterator.qc.dox.h:27
Provides a data provider for reading fixed-length files.
Definition: FixedLengthReadDataProvider.qc.dox.h:29
constructor(string path, hash< auto > spec, *hash< auto > opts)
Creates the FixedLengthReadDataProvider with the input data path, the record specifications,...
const ProviderInfo
Provider info.
Definition: FixedLengthReadDataProvider.qc.dox.h:33