org.apache.accumulo.core.file.blockfile.impl
Class CachableBlockFile.Writer
java.lang.Object
org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile.Writer
- All Implemented Interfaces:
- BlockFileWriter
- Enclosing class:
- CachableBlockFile
public static class CachableBlockFile.Writer
- extends Object
- implements BlockFileWriter
Constructor Summary |
CachableBlockFile.Writer(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path fName,
String compressAlgor,
org.apache.hadoop.conf.Configuration conf)
|
CachableBlockFile.Writer(org.apache.hadoop.fs.FSDataOutputStream fsout,
String compressAlgor,
org.apache.hadoop.conf.Configuration conf)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachableBlockFile.Writer
public CachableBlockFile.Writer(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path fName,
String compressAlgor,
org.apache.hadoop.conf.Configuration conf)
throws IOException
- Throws:
IOException
CachableBlockFile.Writer
public CachableBlockFile.Writer(org.apache.hadoop.fs.FSDataOutputStream fsout,
String compressAlgor,
org.apache.hadoop.conf.Configuration conf)
throws IOException
- Throws:
IOException
prepareMetaBlock
public ABlockWriter prepareMetaBlock(String name)
throws IOException
- Specified by:
prepareMetaBlock
in interface BlockFileWriter
- Throws:
IOException
prepareMetaBlock
public ABlockWriter prepareMetaBlock(String name,
String compressionName)
throws IOException
- Specified by:
prepareMetaBlock
in interface BlockFileWriter
- Throws:
IOException
prepareDataBlock
public ABlockWriter prepareDataBlock()
throws IOException
- Specified by:
prepareDataBlock
in interface BlockFileWriter
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface BlockFileWriter
- Throws:
IOException
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.