org.apache.accumulo.core.client.impl
Class TabletServerBatchDeleter
java.lang.Object
org.apache.accumulo.core.client.impl.ScannerOptions
org.apache.accumulo.core.client.impl.TabletServerBatchReader
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
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.ScannerBase |
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, iterator, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, updateScanIteratorOption |
TabletServerBatchDeleter
public TabletServerBatchDeleter(Instance instance,
AuthInfo credentials,
String tableId,
Authorizations authorizations,
int numQueryThreads,
long maxMemory,
long maxLatency,
int maxWriteThreads)
throws TableNotFoundException
- Throws:
TableNotFoundException
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.