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(java.lang.String name,
java.lang.String compressionName)
throws java.io.IOException
- Throws:
java.io.IOException
prepareMetaBlock
ABlockWriter prepareMetaBlock(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
prepareDataBlock
ABlockWriter prepareDataBlock()
throws java.io.IOException
- Throws:
java.io.IOException
close
void close()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.