public static class CachableBlockFile.Writer extends Object implements BlockFileWriter
Constructor and Description |
---|
Writer(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path fName,
String compressAlgor,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration accumuloConfiguration) |
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) |
public 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 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 prepareDataBlock() throws IOException
prepareDataBlock
in interface BlockFileWriter
IOException
public void close() throws IOException
close
in interface BlockFileWriter
IOException
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.