Gets a decoder function suitable for converting the specified COBOL data type to a target type.
Gets a decoder function suitable for converting the specified COBOL data type to a target type. The target type is determined based on Spark expectations.
A datatype of a copybook field
Specifies how the decoder should handle string types
Specifies a code page to use for EBCDIC to ASCII/Unicode conversion
A charset for ASCII encoded data
If true UTF-16 strings are considered big-endian.
Specifies a floating point format (IBM or IEEE754)
if true, sign overpunching is not allowed for positive numbers.
If true, string values that contain only zero bytes (0x0) will be considered null.
If true, Cobrix will not generate short/integer/long Spark data types, and always use decimal(n) with the exact precision that matches the copybook.
A function that converts an array of bytes to the target data type.