Class TabletServerBatchDeleter
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.ScannerOptions
-
- org.apache.accumulo.core.clientImpl.TabletServerBatchReader
-
- org.apache.accumulo.core.clientImpl.TabletServerBatchDeleter
-
- All Implemented Interfaces:
AutoCloseable
,Iterable<Map.Entry<Key,Value>>
,BatchDeleter
,BatchScanner
,ScannerBase
public class TabletServerBatchDeleter extends TabletServerBatchReader implements BatchDeleter
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.core.clientImpl.ScannerOptions
batchTimeOut, classLoaderContext, executionHints, fetchedColumns, serverSideIteratorList, serverSideIteratorOptions, timeOut
-
-
Constructor Summary
Constructors Constructor Description TabletServerBatchDeleter(ClientContext context, TableId tableId, Authorizations authorizations, int numQueryThreads, BatchWriterConfig bwConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
Deletes the ranges specified byBatchDeleter.setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>)
.-
Methods inherited from class org.apache.accumulo.core.clientImpl.TabletServerBatchReader
close, finalize, getAuthorizations, iterator, setRanges
-
Methods inherited from class org.apache.accumulo.core.clientImpl.ScannerOptions
addScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getBatchTimeout, getClassLoaderContext, getFetchedColumns, getSamplerConfiguration, getTimeout, removeScanIterator, setBatchTimeout, setClassLoaderContext, setExecutionHints, setOptions, setSamplerConfiguration, setTimeout, updateScanIteratorOption
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.client.BatchDeleter
close, setRanges
-
Methods inherited from interface org.apache.accumulo.core.client.BatchScanner
setTimeout
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface org.apache.accumulo.core.client.ScannerBase
addScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, fetchColumn, fetchColumn, fetchColumn, fetchColumnFamily, fetchColumnFamily, getAuthorizations, getBatchTimeout, getClassLoaderContext, getSamplerConfiguration, getTimeout, iterator, removeScanIterator, setBatchTimeout, setClassLoaderContext, setExecutionHints, setSamplerConfiguration, updateScanIteratorOption
-
-
-
-
Constructor Detail
-
TabletServerBatchDeleter
public TabletServerBatchDeleter(ClientContext context, TableId tableId, Authorizations authorizations, int numQueryThreads, BatchWriterConfig bwConfig)
-
-
Method Detail
-
delete
public void delete() throws MutationsRejectedException
Description copied from interface:BatchDeleter
Deletes the ranges specified byBatchDeleter.setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>)
.- Specified by:
delete
in interfaceBatchDeleter
- Throws:
MutationsRejectedException
- this can be thrown when deletion mutations fail
-
-