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, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getAuthorizations, getBatchTimeout, getClassLoaderContext, getSamplerConfiguration, getTimeout, iterator, removeScanIterator, setBatchTimeout, setClassLoaderContext, setSamplerConfiguration, 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 AutoCloseable
close
in interface ScannerBase
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.