|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BatchDeleter
Implementations of BatchDeleter support efficient deletion of ranges in accumulo.
Method Summary | |
---|---|
void |
close()
Releases any resources. |
void |
delete()
Deletes the ranges specified by setRanges(java.util.Collection . |
void |
setRanges(Collection<Range> ranges)
Allows deleting multiple ranges efficiently. |
Methods inherited from interface org.apache.accumulo.core.client.ScannerBase |
---|
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, getTimeout, iterator, removeScanIterator, setTimeout, updateScanIteratorOption |
Method Detail |
---|
void delete() throws MutationsRejectedException, TableNotFoundException
setRanges(java.util.Collection)
.
MutationsRejectedException
- this can be thrown when deletion mutations fail
TableNotFoundException
- when the table does not existvoid setRanges(Collection<Range> ranges)
ranges
- specifies the non-overlapping ranges to queryvoid close()
close
in interface ScannerBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |