var searchData=
[
['zzz8binaryzzz9_2275',['binary',['../../../../lang/html/class_qore_1_1zzz8binaryzzz9.html',1,'Qore']]],
['zzz8boolzzz9_2276',['bool',['../../../../lang/html/class_qore_1_1zzz8boolzzz9.html',1,'Qore']]],
['zzz8callrefzzz9_2277',['callref',['../../../../lang/html/class_qore_1_1zzz8callrefzzz9.html',1,'Qore']]],
['zzz8closurezzz9_2278',['closure',['../../../../lang/html/class_qore_1_1zzz8closurezzz9.html',1,'Qore']]],
['zzz8datezzz9_2279',['date',['../../../../lang/html/class_qore_1_1zzz8datezzz9.html',1,'Qore']]],
['zzz8floatzzz9_2280',['float',['../../../../lang/html/class_qore_1_1zzz8floatzzz9.html',1,'Qore']]],
['zzz8hashzzz9_2281',['hash',['../../../../lang/html/class_qore_1_1zzz8hashzzz9.html',1,'Qore']]],
['zzz8intzzz9_2282',['int',['../../../../lang/html/class_qore_1_1zzz8intzzz9.html',1,'Qore']]],
['zzz8listzzz9_2283',['list',['../../../../lang/html/class_qore_1_1zzz8listzzz9.html',1,'Qore']]],
['zzz8nothingzzz9_2284',['nothing',['../../../../lang/html/class_qore_1_1zzz8nothingzzz9.html',1,'Qore']]],
['zzz8numberzzz9_2285',['number',['../../../../lang/html/class_qore_1_1zzz8numberzzz9.html',1,'Qore']]],
['zzz8objectzzz9_2286',['object',['../../../../lang/html/class_qore_1_1zzz8objectzzz9.html',1,'Qore']]],
['zzz8stringzzz9_2287',['string',['../../../../lang/html/class_qore_1_1zzz8stringzzz9.html',1,'Qore']]],
['zzz8valuezzz9_2288',['value',['../../../../lang/html/class_qore_1_1zzz8valuezzz9.html',1,'Qore']]]
];
e="padding-left: 0.5em;">
Qore FixedLengthUtil Module Reference
1.5
Provides a data provider for reading fixed-length files.
More...
Inherits DataProvider::AbstractDataProvider.
Provides a data provider for reading fixed-length files.
◆ constructor() [1/2]
FixedLengthUtil::FixedLengthWriteDataProvider::constructor |
( |
OutputStream |
stream, |
|
|
hash< auto > |
specs, |
|
|
*hash< auto > |
opts |
|
) |
| |
Creates the FixedLengthWriteDataProvider with the output data stream where data will be writeen and an option hash.
- Parameters
-
stream | the output stream for writing the data |
specs | Fixed-length line specification; see Specification Hash for more information |
opts | Global options; see Global Options for valid values |
- Exceptions
-
FIXED-LENGTH-UTIL-PADDING-ERROR | record padding error |
◆ constructor() [2/2]
FixedLengthUtil::FixedLengthWriteDataProvider::constructor |
( |
string |
path, |
|
|
hash< auto > |
specs, |
|
|
*hash< auto > |
opts |
|
) |
| |
Creates the FixedLengthWriteDataProvider with the output path and optionally an option hash.
- Parameters
-
path | The output file to write |
specs | Fixed-length line specification; see Specification Hash for more information |
opts | Global options; see Global Options for valid values |
- Exceptions
-
FIXED-LENGTH-UTIL-PADDING-ERROR | record padding error |
◆ createRecordImpl()
*hash<auto> FixedLengthUtil::FixedLengthWriteDataProvider::createRecordImpl |
( |
hash< auto > |
rec, |
|
|
*hash< auto > |
create_options |
|
) |
| |
|
protected |
Creates the given record to the data provider.
- Parameters
-
rec | a hash representing a single input record |
create_options | the create options after processing by validateCreateOptions() |
- Returns
- the data written to the data provider