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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.client.ScannerBase
ScannerBase.ConsistencyLevel
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.core.clientImpl.ScannerOptions
batchTimeout, classLoaderContext, executionHints, fetchedColumns, retryTimeout, serverSideIteratorList, serverSideIteratorOptions
-
-
Constructor Summary
Constructors Constructor Description TabletServerBatchDeleter(ClientContext context, TableId tableId, String tableName, 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, getAuthorizations, iterator, setRanges
-
Methods inherited from class org.apache.accumulo.core.clientImpl.ScannerOptions
addScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getBatchTimeout, getClassLoaderContext, getConsistencyLevel, getFetchedColumns, getSamplerConfiguration, getTimeout, removeScanIterator, setBatchTimeout, setClassLoaderContext, setConsistencyLevel, setExecutionHints, setOptions, setSamplerConfiguration, setTimeout, updateScanIteratorOption
-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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, forEach, getAuthorizations, getBatchTimeout, getClassLoaderContext, getConsistencyLevel, getSamplerConfiguration, getTimeout, iterator, removeScanIterator, setBatchTimeout, setClassLoaderContext, setConsistencyLevel, setExecutionHints, setSamplerConfiguration, stream, updateScanIteratorOption
-
-
-
-
Constructor Detail
-
TabletServerBatchDeleter
public TabletServerBatchDeleter(ClientContext context, TableId tableId, String tableName, 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
-
-