org.apache.accumulo.core.file.blockfile
Interface BlockFileReader
- All Known Implementing Classes:
- CachableBlockFile.Reader
public interface BlockFileReader
Provides a generic interface for a Reader for a BlockBaseFile format. Supports the minimal interface required.
Read a metaBlock and a dataBlock
getMetaBlock
ABlockReader getMetaBlock(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
getDataBlock
ABlockReader getDataBlock(int blockIndex)
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.