org.apache.accumulo.server.test.randomwalk.concurrent
Class BulkImport.RFileBatchWriter

java.lang.Object
  extended by org.apache.accumulo.server.test.randomwalk.concurrent.BulkImport.RFileBatchWriter
All Implemented Interfaces:
BatchWriter
Enclosing class:
BulkImport

public static class BulkImport.RFileBatchWriter
extends Object
implements BatchWriter


Constructor Summary
BulkImport.RFileBatchWriter(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, String file)
           
 
Method Summary
 void addMutation(Mutation m)
           
 void addMutations(Iterable<Mutation> iterable)
           
 void close()
           
 void flush()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkImport.RFileBatchWriter

public BulkImport.RFileBatchWriter(org.apache.hadoop.conf.Configuration conf,
                                   org.apache.hadoop.fs.FileSystem fs,
                                   String file)
                            throws IOException
Throws:
IOException
Method Detail

addMutation

public void addMutation(Mutation m)
                 throws MutationsRejectedException
Specified by:
addMutation in interface BatchWriter
Throws:
MutationsRejectedException

addMutations

public void addMutations(Iterable<Mutation> iterable)
                  throws MutationsRejectedException
Specified by:
addMutations in interface BatchWriter
Throws:
MutationsRejectedException

flush

public void flush()
           throws MutationsRejectedException
Specified by:
flush in interface BatchWriter
Throws:
MutationsRejectedException

close

public void close()
           throws MutationsRejectedException
Specified by:
close in interface BatchWriter
Throws:
MutationsRejectedException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.