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.


Method Summary
 void close()
           
 ABlockWriter prepareDataBlock()
           
 ABlockWriter prepareMetaBlock(String name)
           
 ABlockWriter prepareMetaBlock(String name, String compressionName)
           
 

Method Detail

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 © 2015 Apache Accumulo Project. All rights reserved.