public interface BatchDeleter extends ScannerBase
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases any resources.
|
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, fetchColumnFamily, 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()
close
in interface ScannerBase
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.