Package db.buffers
Interface OutputBlockStream
-
- All Superinterfaces:
java.lang.AutoCloseable
,BlockStream
,java.io.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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeBlock(BufferFileBlock block)
Write the specified block to the corresponding BufferFile.-
Methods inherited from interface db.buffers.BlockStream
getBlockCount, getBlockSize
-
-
-
-
Method Detail
-
writeBlock
void writeBlock(BufferFileBlock block) throws java.io.IOException
Write the specified block to the corresponding BufferFile.- Parameters:
block
- a BufferFile block which corresponds to a specific block index- Throws:
java.io.IOException
- if an unexpected error occurs while writing the block
-
-