Package org.apache.hadoop.hbase.io.hfile
Interface HFileBlock.BlockWritable
- Enclosing class:
- HFileBlock
static interface HFileBlock.BlockWritable
Something that can be written into a block.
-
Method Summary
Modifier and TypeMethodDescriptionThe type of block this data should use.void
writeToBlock
(DataOutput out) Writes the block to the provided stream.
-
Method Details
-
getBlockType
The type of block this data should use. -
writeToBlock
Writes the block to the provided stream. Must not write any magic records.- Parameters:
out
- a stream to write uncompressed data into- Throws:
IOException
-