org.apache.accumulo.server.test
Class NullBatchWriter

java.lang.Object
  extended by org.apache.accumulo.server.test.NullBatchWriter
All Implemented Interfaces:
BatchWriter

public class NullBatchWriter
extends java.lang.Object
implements BatchWriter


Constructor Summary
NullBatchWriter()
           
 
Method Summary
 void addMutation(Mutation m)
           
 void addMutations(java.lang.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

NullBatchWriter

public NullBatchWriter()
Method Detail

addMutation

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

addMutations

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

close

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

flush

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


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