org.apache.accumulo.core.file.blockfile
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.
prepareMetaBlock
ABlockWriter prepareMetaBlock(String name,
String compressionName)
throws IOException
- Throws:
IOException
prepareMetaBlock
ABlockWriter prepareMetaBlock(String name)
throws IOException
- Throws:
IOException
prepareDataBlock
ABlockWriter prepareDataBlock()
throws IOException
- Throws:
IOException
close
void close()
throws IOException
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.