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
BatchDeleter for the specified instance on the specified table where the writer uses the specified Authorizations. |
| 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, setRangescreateFilter, getAuthorizationsaddScanIterator, 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, fetchColumn, fetchColumnFamily, getAuthorizations, getTimeout, iterator, removeScanIterator, setTimeout, updateScanIteratorOptionforEach, spliteratorsetTimeoutpublic 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–2018 The Apache Software Foundation. All rights reserved.