public interface MultiTableBatchWriter
Modifier and Type | Method and Description |
---|---|
void |
close()
Flush and release all resources.
|
void |
flush()
Send mutations for all tables to accumulo.
|
BatchWriter |
getBatchWriter(String table)
Returns a BatchWriter for a particular table.
|
boolean |
isClosed()
Returns true if this batch writer has been closed.
|
BatchWriter getBatchWriter(String table) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
table
- 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 existvoid flush() throws MutationsRejectedException
MutationsRejectedException
- when queued mutations are unable to be insertedvoid close() throws MutationsRejectedException
MutationsRejectedException
- when queued mutations are unable to be insertedboolean isClosed()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.