Interface BlockFileWriter
-
- All Known Implementing Classes:
CachableBlockFile.Writer
public interface BlockFileWriter
Provides a generic interface for a Writer for a BlockBaseFile format. Supports the minimal interface required. Write a metaBlock and a dataBlock.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
long
getLength()
ABlockWriter
prepareDataBlock()
ABlockWriter
prepareMetaBlock(String name)
-
-
-
Method Detail
-
prepareMetaBlock
ABlockWriter prepareMetaBlock(String name) throws IOException
- Throws:
IOException
-
prepareDataBlock
ABlockWriter prepareDataBlock() throws IOException
- Throws:
IOException
-
close
void close() throws IOException
- Throws:
IOException
-
getLength
long getLength() throws IOException
- Throws:
IOException
-
-