Class PositionOutputStream

Object
java.io.OutputStream
io.delta.kernel.defaults.engine.fileio.PositionOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Direct Known Subclasses:
HadoopPositionOutputStream

public abstract class PositionOutputStream extends OutputStream
Extends OutputStream to provide the current position in the stream. This stream is used to write data into the file.
  • Constructor Details

    • PositionOutputStream

      public PositionOutputStream()
  • Method Details

    • getPos

      public abstract long getPos() throws IOException
      Get the current position in the stream.
      Returns:
      the current position in bytes from the start of the stream
      Throws:
      IOException