public class QueryAndDeleteByRow<T> extends Object implements Deleter<T>
CloseableIterator.Empty<E>, CloseableIterator.Wrapper<E>
Constructor and Description |
---|
QueryAndDeleteByRow() |
QueryAndDeleteByRow(RowDeleter rowDeleter,
RowReader<T> reader) |
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.
|
boolean |
hasNext() |
T |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public QueryAndDeleteByRow()
public QueryAndDeleteByRow(RowDeleter rowDeleter, RowReader<T> reader)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface CloseableIterator<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.