org.apache.accumulo.core.client.impl
Class TabletServerBatchDeleter

java.lang.Object
  extended by org.apache.accumulo.core.client.impl.ScannerOptions
      extended by org.apache.accumulo.core.client.impl.TabletServerBatchReader
          extended by org.apache.accumulo.core.client.impl.TabletServerBatchDeleter
All Implemented Interfaces:
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.client.impl.TabletServerBatchReader
log
 
Fields inherited from class org.apache.accumulo.core.client.impl.ScannerOptions
fetchedColumns, serverSideIteratorList, serverSideIteratorOptions, timeOut
 
Constructor Summary
TabletServerBatchDeleter(Instance instance, TCredentials credentials, String tableId, Authorizations authorizations, int numQueryThreads, BatchWriterConfig bwConfig)
           
 
Method Summary
 void delete()
          Deletes the ranges specified by BatchDeleter.setRanges(java.util.Collection).
 
Methods inherited from class org.apache.accumulo.core.client.impl.TabletServerBatchReader
close, finalize, iterator, setRanges
 
Methods inherited from class org.apache.accumulo.core.client.impl.ScannerOptions
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, getTimeout, removeScanIterator, setOptions, 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.ScannerBase
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, getTimeout, iterator, removeScanIterator, setTimeout, updateScanIteratorOption
 
Methods inherited from interface org.apache.accumulo.core.client.BatchScanner
setTimeout
 

Constructor Detail

TabletServerBatchDeleter

public TabletServerBatchDeleter(Instance instance,
                                TCredentials credentials,
                                String tableId,
                                Authorizations authorizations,
                                int numQueryThreads,
                                BatchWriterConfig bwConfig)
                         throws TableNotFoundException
Throws:
TableNotFoundException
Method Detail

delete

public void delete()
            throws MutationsRejectedException,
                   TableNotFoundException
Description copied from interface: BatchDeleter
Deletes the ranges specified by BatchDeleter.setRanges(java.util.Collection).

Specified by:
delete in interface BatchDeleter
Throws:
MutationsRejectedException - this can be thrown when deletion mutations fail
TableNotFoundException - when the table does not exist


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.