za.co.absa.cobrix.cobol.parser.headerparsers
RDW header is a 4 byte header
RDW header is a 4 byte header
Given a raw values of a record header returns metadata sufficient to parse the record.
Given a raw values of a record header returns metadata sufficient to parse the record.
A record header as an array of bytes
An offset from the beginning of the underlying file
A size of the underlying file
A sequential record number
A parsed record metadata
RDW headers are added by mainframe transferring tools (such as XCOM), so they are never defined in copybooks.
RDW headers are added by mainframe transferring tools (such as XCOM), so they are never defined in copybooks.
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("rhp_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.
This is a parser for records that contain 4 byte RDW headers.