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:
java.lang.Iterable<java.util.Map.Entry<Key,Value>>, BatchDeleter, BatchScanner, ScannerBase

public class TabletServerBatchDeleter
extends TabletServerBatchReader
implements BatchDeleter


Constructor Summary
TabletServerBatchDeleter(Instance instance, AuthInfo credentials, java.lang.String tableId, Authorizations authorizations, int numQueryThreads, long maxMemory, long maxLatency, int maxWriteThreads)
           
 
Method Summary
 void delete()
           
 void setValueRegex(java.lang.String regex)
          Set a value regular expression that filters non matching entries server side.
 
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
clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, setColumnFamilyRegex, setColumnQualifierRegex, setOptions, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex
 
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
setRanges
 
Methods inherited from interface org.apache.accumulo.core.client.ScannerBase
clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex
 

Constructor Detail

TabletServerBatchDeleter

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

setValueRegex

public void setValueRegex(java.lang.String regex)
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

delete

public void delete()
            throws MutationsRejectedException,
                   TableNotFoundException
Specified by:
delete in interface BatchDeleter
Throws:
MutationsRejectedException
TableNotFoundException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.