public class MockBatchDeleter extends MockBatchScanner implements BatchDeleter
BatchDeleter for a MockAccumulo instance. Behaves similarly to a regular BatchDeleter, with a few exceptions:
 auths, table| Constructor and Description | 
|---|
| MockBatchDeleter(MockAccumulo acc,
                String tableName,
                Authorizations auths)Create a  BatchDeleterfor the specified instance on the specified table where the writer uses the specifiedAuthorizations. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | delete()Deletes the ranges specified by  BatchDeleter.setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>). | 
close, iterator, setRangescreateFilteraddScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, getTimeout, removeScanIterator, setOptions, setTimeout, updateScanIteratorOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, setRangesaddScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, getTimeout, iterator, removeScanIterator, setTimeout, updateScanIteratorOptionsetTimeoutpublic MockBatchDeleter(MockAccumulo acc, String tableName, Authorizations auths)
BatchDeleter for the specified instance on the specified table where the writer uses the specified Authorizations.public void delete()
            throws MutationsRejectedException,
                   TableNotFoundException
BatchDeleterBatchDeleter.setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>).delete in interface BatchDeleterMutationsRejectedException - this can be thrown when deletion mutations failTableNotFoundException - when the table does not existCopyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.