 |
Qore FixedLengthUtil Module Reference
1.2
|
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",
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);
string getName()
Returns the object name.
constructor(InputStream stream, *string encoding, hash< auto > spec, *hash< auto > opts)
Creates the FixedLengthReadDataProvider from a binary input data stream, the record specifications,...
*hash< string, AbstractDataField > getRecordTypeImpl(*hash< auto > search_options)
Returns the description of the record type, if any.
constructor(*hash< auto > options)
Creates the object from constructor options.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
Structured line iterator for abstract data allowing efficient "pipelined" processing.
Definition: FixedLengthAbstractIterator.qc.dox.h:29
constructor(string path, hash< auto > spec, *hash< auto > opts)
Creates the FixedLengthReadDataProvider with the input data path, the record specifications,...
The FixedLengthUtil namespace contains all the definitions in the FixedLengthUtil module.
Definition: FixedLengthAbstractIterator.qc.dox.h:27
constructor(StringInputStream stream, hash< auto > spec, *hash< auto > opts)
Creates the FixedLengthReadDataProvider with the string input data stream, the record specifications,...
AbstractDataProviderRecordIterator searchRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Returns an iterator for zero or more records matching the search options.
Provides a data provider for reading fixed-length files.
Definition: FixedLengthReadDataProvider.qc.dox.h:29
const ConstructorOptions
Constructor options.
Definition: FixedLengthReadDataProvider.qc.dox.h:41
const ProviderInfo
Provider info.
Definition: FixedLengthReadDataProvider.qc.dox.h:33
FixedLengthAbstractIterator i
The iterator object.
Definition: FixedLengthReadDataProvider.qc.dox.h:63