org.apache.accumulo.test.randomwalk.concurrent
public static class BulkImport.RFileBatchWriter extends Object implements BatchWriter
| Constructor and Description |
|---|
BulkImport.RFileBatchWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
String file) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMutation(Mutation m) |
void |
addMutations(Iterable<Mutation> iterable) |
void |
close() |
void |
flush() |
public BulkImport.RFileBatchWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
String file)
throws IOException
IOExceptionpublic void addMutation(Mutation m) throws MutationsRejectedException
addMutation in interface BatchWriterMutationsRejectedExceptionpublic void addMutations(Iterable<Mutation> iterable) throws MutationsRejectedException
addMutations in interface BatchWriterMutationsRejectedExceptionpublic void flush()
throws MutationsRejectedException
flush in interface BatchWriterMutationsRejectedExceptionpublic void close()
throws MutationsRejectedException
close in interface BatchWriterMutationsRejectedExceptionCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.