Package db.buffers
Interface OutputBlockStream
- All Superinterfaces:
AutoCloseable
,BlockStream
,Closeable
OutputBlockStream
provides a BufferFile output block stream.
The nature of the stream and the block sequence is determined by the
particular instance.-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeBlock
(BufferFileBlock block) Write the specified block to the corresponding BufferFile.Methods inherited from interface db.buffers.BlockStream
getBlockCount, getBlockSize
-
Method Details
-
writeBlock
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
-