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.ScannerOptions
fetchedColumns, serverSideIteratorList, serverSideIteratorOptions
 
Constructor Summary
TabletServerBatchDeleter(Instance instance, AuthInfo credentials, String tableId, Authorizations authorizations, int numQueryThreads, long maxMemory, long maxLatency, int maxWriteThreads)
           
 
Method Summary
 void delete()
          Deletes the ranges specified by BatchDeleter.setRanges(java.util.Collection).
 void setValueRegex(String regex)
          Deprecated. 
 
Methods inherited from class org.apache.accumulo.core.client.impl.TabletServerBatchReader
close, iterator, setRanges
 
Methods inherited from class org.apache.accumulo.core.client.impl.ScannerOptions
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setOptions, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, 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.ScannerBase
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, iterator, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, updateScanIteratorOption
 

Constructor Detail

TabletServerBatchDeleter

public TabletServerBatchDeleter(Instance instance,
                                AuthInfo credentials,
                                String tableId,
                                Authorizations authorizations,
                                int numQueryThreads,
                                long maxMemory,
                                long maxLatency,
                                int maxWriteThreads)
                         throws TableNotFoundException
Throws:
TableNotFoundException
Method Detail

setValueRegex

@Deprecated
public void setValueRegex(String regex)
Deprecated. 

Description copied from class: ScannerOptions
Set a value regular expression that filters non matching entries server side.

Specified by:
setValueRegex in interface ScannerBase
Overrides:
setValueRegex in class ScannerOptions
Parameters:
regex - java regular expression to match
See Also:
RegExFilter

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 © 2014 The Apache Software Foundation. All Rights Reserved.