public class AccumuloDeleter<T> extends AccumuloReader<T> implements Deleter<T>
CloseableIterator.Empty<E>, CloseableIterator.Wrapper<E>
scanner
Constructor and Description |
---|
AccumuloDeleter(org.apache.accumulo.core.client.BatchDeleter scanner,
List<ByteArrayRange> clientFilterRanges,
GeoWaveRowIteratorTransformer<T> transformer,
int partitionKeyLength,
boolean wholeRowEncoding,
boolean clientSideRowMerging,
boolean parallel) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
entryScanned(T entry,
GeoWaveRow row)
This will be called after an entry is successfully scanned with the row IDs that were used.
|
hasNext, next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext, next, remove
public AccumuloDeleter(org.apache.accumulo.core.client.BatchDeleter scanner, List<ByteArrayRange> clientFilterRanges, GeoWaveRowIteratorTransformer<T> transformer, int partitionKeyLength, boolean wholeRowEncoding, boolean clientSideRowMerging, boolean parallel)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface CloseableIterator<T>
close
in class AccumuloReader<T>
public void entryScanned(T entry, GeoWaveRow row)
ScanCallback
Without or without de-duplication, row ids are not consolidate, thus each entry only contains one row id. If the entry is not de-dupped, then the entry this method is called for each duplicate, each with a different row id.
entryScanned
in interface ScanCallback<T,GeoWaveRow>
entry
- the entry that was ingestedrow
- the raw row scanned from the table for this entryCopyright © 2013–2022. All rights reserved.