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)
If true, Spark schema will be generated with additional metadata (e.g. PICs, USAGE, etc.)
A parsed copybook.
If true, Spark schema will be generated with additional metadata (e.g.
If true, Spark schema will be generated with additional metadata (e.g. PICs, USAGE, etc.)
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.
A prefix for each segment id levels to make segment ids globally unique (by default the current timestamp will be used)
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.