@Deprecated 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)
Deprecated.
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()
Deprecated.
Deletes the ranges specified by
BatchDeleter.setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>). |
close, iterator, setRangescreateFilter, getAuthorizations, setClassLoaderContextaddScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getBatchTimeout, getClassLoaderContext, getFetchedColumns, getSamplerConfiguration, getTimeout, removeScanIterator, setBatchTimeout, setOptions, setSamplerConfiguration, setTimeout, updateScanIteratorOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, setRangesaddScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getAuthorizations, getBatchTimeout, getClassLoaderContext, getSamplerConfiguration, getTimeout, iterator, removeScanIterator, setBatchTimeout, setClassLoaderContext, setSamplerConfiguration, 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–2019 The Apache Software Foundation. All rights reserved.