public static class CachableBlockFile.Writer extends Object implements BlockFileWriter
Constructor and Description |
---|
CachableBlockFile.Writer(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path fName,
String compressAlgor,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration accumuloConfiguration) |
CachableBlockFile.Writer(org.apache.hadoop.fs.FSDataOutputStream fsout,
String compressAlgor,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration accumuloConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ABlockWriter |
prepareDataBlock() |
ABlockWriter |
prepareMetaBlock(String name) |
ABlockWriter |
prepareMetaBlock(String name,
String compressionName) |
public CachableBlockFile.Writer(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path fName, String compressAlgor, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration accumuloConfiguration) throws IOException
IOException
public CachableBlockFile.Writer(org.apache.hadoop.fs.FSDataOutputStream fsout, String compressAlgor, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration accumuloConfiguration) throws IOException
IOException
public ABlockWriter prepareMetaBlock(String name) throws IOException
prepareMetaBlock
in interface BlockFileWriter
IOException
public ABlockWriter prepareMetaBlock(String name, String compressionName) throws IOException
prepareMetaBlock
in interface BlockFileWriter
IOException
public ABlockWriter prepareDataBlock() throws IOException
prepareDataBlock
in interface BlockFileWriter
IOException
public void close() throws IOException
close
in interface BlockFileWriter
IOException
Copyright © 2014 Apache Accumulo Project. All rights reserved.