This class provides methods for streaming bytes from an HDFS file.
Provides an integration point for adding streaming support to the Spark-Cobol library.
Provides an integration point for adding streaming support to the Spark-Cobol library.
This version is experimental and does not yet provide support to schemas or structured streaming.
This class provides methods for streaming bytes from an HDFS file.
It is stateful, which means that it stores the offset until which the file has been consumed.
Instances of this class are not reusable, i.e. once the file is fully read it can neither be reopened nor can other file be consumed.
IllegalArgumentException
in case the file is not found in the underlying file system.