(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Returns the byte offset of the next record.
Returns the byte offset of the next record.
The offset should point to the absolute beginning of the record, e.g. including headers, so that if a record extractor is started from this offset it would be able to extract the record by invoking .next().
Clients of 'spark-cobol' can pass additional information to custom record header parsers using
Clients of 'spark-cobol' can pass additional information to custom record header parsers using
.option("re_additional_info", "...anything as a string...")
If a client provides any additional info the method will be executed just after constructing the record header parser.
Built-in record header parsers ignore the additional info. This info string is intended for custom record header parsers.
A string provided by a client for the record header parser.