public class TabletServerBatchDeleter extends TabletServerBatchReader implements BatchDeleter
fetchedColumns, serverSideIteratorList, serverSideIteratorOptions
Constructor and Description |
---|
TabletServerBatchDeleter(Instance instance,
AuthInfo credentials,
String tableId,
Authorizations authorizations,
int numQueryThreads,
long maxMemory,
long maxLatency,
int maxWriteThreads) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes the ranges specified by
BatchDeleter.setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>) . |
void |
setValueRegex(String regex)
Set a value regular expression that filters non matching entries server side.
|
close, iterator, setRanges
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setOptions, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, updateScanIteratorOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, setRanges
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, iterator, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, updateScanIteratorOption
public TabletServerBatchDeleter(Instance instance, AuthInfo credentials, String tableId, Authorizations authorizations, int numQueryThreads, long maxMemory, long maxLatency, int maxWriteThreads) throws TableNotFoundException
TableNotFoundException
public void setValueRegex(String regex)
ScannerOptions
setValueRegex
in interface ScannerBase
setValueRegex
in class ScannerOptions
regex
- java regular expression to matchRegExFilter
public void delete() throws MutationsRejectedException, TableNotFoundException
BatchDeleter
BatchDeleter.setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>)
.delete
in interface BatchDeleter
MutationsRejectedException
- this can be thrown when deletion mutations failTableNotFoundException
- when the table does not existCopyright © 2012 The Apache Software Foundation. All Rights Reserved.