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,
RateLimiter writeLimiter,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration accumuloConfiguration) |
CachableBlockFile.Writer(OutputStreamType fsout,
String compressAlgor,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration accumuloConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getLength() |
ABlockWriter |
prepareDataBlock() |
ABlockWriter |
prepareMetaBlock(String name) |
public CachableBlockFile.Writer(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path fName, String compressAlgor, RateLimiter writeLimiter, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration accumuloConfiguration) throws IOException
IOException
public CachableBlockFile.Writer(OutputStreamType 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 prepareDataBlock() throws IOException
prepareDataBlock
in interface BlockFileWriter
IOException
public void close() throws IOException
close
in interface BlockFileWriter
IOException
public long getLength() throws IOException
getLength
in interface BlockFileWriter
IOException
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.