@Deprecated public class MockMultiTableBatchWriter extends Object implements MultiTableBatchWriter
| Constructor and Description | 
|---|
MockMultiTableBatchWriter(MockAccumulo acu)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Deprecated.  
Flush and release all resources. 
 | 
void | 
flush()
Deprecated.  
Send mutations for all tables to accumulo. 
 | 
BatchWriter | 
getBatchWriter(String table)
Deprecated.  
Returns a BatchWriter for a particular table. 
 | 
boolean | 
isClosed()
Deprecated.  
Returns true if this batch writer has been closed. 
 | 
public MockMultiTableBatchWriter(MockAccumulo acu)
public BatchWriter getBatchWriter(String table) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
MultiTableBatchWritergetBatchWriter in interface MultiTableBatchWritertable - the name of a table whose batch writer you wish to retrieveAccumuloException - when a general exception occurs with accumuloAccumuloSecurityException - when the user is not allowed to insert data into that tableTableNotFoundException - when the table does not existpublic void flush()
           throws MutationsRejectedException
MultiTableBatchWriterflush in interface MultiTableBatchWriterMutationsRejectedException - when queued mutations are unable to be insertedpublic void close()
           throws MutationsRejectedException
MultiTableBatchWriterclose in interface MultiTableBatchWriterMutationsRejectedException - when queued mutations are unable to be insertedpublic boolean isClosed()
MultiTableBatchWriterisClosed in interface MultiTableBatchWriterCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.