public interface BatchDeleter extends ScannerBase
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes any underlying connections on the scanner
|
void |
delete()
Deletes the ranges specified by
setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>) . |
void |
setRanges(Collection<Range> ranges)
Allows deleting multiple ranges efficiently.
|
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getAuthorizations, getTimeout, iterator, removeScanIterator, setTimeout, updateScanIteratorOption
forEach, spliterator
void delete() throws MutationsRejectedException, TableNotFoundException
setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>)
.MutationsRejectedException
- this can be thrown when deletion mutations failTableNotFoundException
- when the table does not existvoid setRanges(Collection<Range> ranges)
ranges
- specifies the non-overlapping ranges to queryvoid close()
ScannerBase
close
in interface ScannerBase
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.