org.apache.hadoop.hbase.io.hfile
Interface HFileBlock.BlockWritable

Enclosing class:
HFileBlock

public static interface HFileBlock.BlockWritable

Something that can be written into a block.


Method Summary
 BlockType getBlockType()
          The type of block this data should use.
 void writeToBlock(DataOutput out)
          Writes the block to the provided stream.
 

Method Detail

getBlockType

BlockType getBlockType()
The type of block this data should use.


writeToBlock

void writeToBlock(DataOutput out)
                  throws IOException
Writes the block to the provided stream. Must not write any magic records.

Parameters:
out - a stream to write uncompressed data into
Throws:
IOException


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.