A parsed copybook.
Specifies a policy to transform the input schema. The default policy is to keep the schema exactly as it is in the copybook.
If non-empty, a source file name will be prepended to the beginning of the schema.
If true, a record id field will be prepended to the beginning of the schema.
A number of segment ID levels to generate
A prefix for each segment id levels to make segment ids globally unique (by default the current timestamp will be used)
A parsed copybook.
If true, a record id field will be prepended to the beginning of the schema.
A number of segment ID levels to generate
If non-empty, a source file name will be prepended to the beginning of the schema.
Specifies a policy to transform the input schema.
Specifies a policy to transform the input schema. The default policy is to keep the schema exactly as it is in the copybook.
This class provides a view on a COBOL schema from the perspective of Spark. When provided with a parsed copybook the class provides the corresponding Spark schema and also other properties for the Spark data source.