Package org.apache.accumulo.core.client
Interface BatchDeleter
- All Superinterfaces:
- AutoCloseable,- Iterable<Map.Entry<Key,,- Value>> - ScannerBase
Implementations of BatchDeleter support efficient deletion of ranges in accumulo.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.accumulo.core.client.ScannerBaseScannerBase.ConsistencyLevel
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Closes any underlying connections on the scanner.voiddelete()Deletes the ranges specified bysetRanges(java.util.Collection<org.apache.accumulo.core.data.Range>).voidsetRanges(Collection<Range> ranges) Allows deleting multiple ranges efficiently.Methods inherited from interface java.lang.IterableforEach, spliteratorMethods inherited from interface org.apache.accumulo.core.client.ScannerBaseaddScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, fetchColumn, fetchColumn, fetchColumn, fetchColumnFamily, fetchColumnFamily, forEach, getAuthorizations, getBatchTimeout, getClassLoaderContext, getConsistencyLevel, getSamplerConfiguration, getTimeout, iterator, removeScanIterator, setBatchTimeout, setClassLoaderContext, setConsistencyLevel, setExecutionHints, setSamplerConfiguration, setTimeout, stream, updateScanIteratorOption
- 
Method Details- 
deleteDeletes the ranges specified bysetRanges(java.util.Collection<org.apache.accumulo.core.data.Range>).- Throws:
- MutationsRejectedException- this can be thrown when deletion mutations fail
- TableNotFoundException- when the table does not exist
 
- 
setRangesAllows deleting multiple ranges efficiently.- Parameters:
- ranges- specifies the non-overlapping ranges to query
 
- 
closevoid close()Description copied from interface:ScannerBaseCloses any underlying connections on the scanner. This may invalidate any iterators derived from the Scanner, causing them to throw exceptions.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- ScannerBase
 
 
-