Package db.buffers

Interface OutputBlockStream

All Superinterfaces:
AutoCloseable, BlockStream, Closeable

public interface OutputBlockStream extends BlockStream
OutputBlockStream provides a BufferFile output block stream. The nature of the stream and the block sequence is determined by the particular instance.
  • Method Details

    • writeBlock

      void writeBlock(BufferFileBlock block) throws IOException
      Write the specified block to the corresponding BufferFile.
      Parameters:
      block - a BufferFile block which corresponds to a specific block index
      Throws:
      IOException - if an unexpected error occurs while writing the block