Package

za.co.absa.cobrix.cobol.reader.extractors

raw

Permalink

package raw

Visibility
  1. Public
  2. All

Type Members

  1. case class RawRecordContext(startingRecordNumber: Long, inputStream: SimpleStream, copybook: Copybook, additionalInfo: String) extends Product with Serializable

    Permalink

    startingRecordNumber

    A record number the input stream is pointing to (zero-based).

    inputStream

    An input stream pointing to the beginning of a file or a record in a file.

    copybook

    A copybook of the input stream.

    additionalInfo

    A string provided by a client for the raw record extractor.

  2. trait RawRecordExtractor extends Iterator[Array[Byte]]

    Permalink

    This trait represents a contract for extracting raw records from a stream of bytes.

    This trait represents a contract for extracting raw records from a stream of bytes. A raw record is an array of bytes.

    Record extractors are used for in situations where the size of records in a file is not fixed and cannot be determined neither from the copybook nor from record headers.

  3. class TextRecordExtractor extends Serializable with RawRecordExtractor

    Permalink

    This implementation of a record extractor for ASCII test files.

    This implementation of a record extractor for ASCII test files.

    Record extractors are used for in situations where the size of records in a file is not fixed and cannot be determined neither from the copybook nor from record headers.

  4. class VarOccursRecordExtractor extends Serializable with RawRecordExtractor

    Permalink

    This implementation of a record extractor A raw record is an array of bytes.

    This implementation of a record extractor A raw record is an array of bytes.

    Record extractors are used for in situations where the size of records in a file is not fixed and cannot be determined neither from the copybook nor from record headers.

Value Members

  1. object RawRecordExtractorFactory

    Permalink

Ungrouped