@InterfaceAudience.Private public class VisibilityScanDeleteTracker extends ScanDeleteTracker
DeleteTracker.DeleteCompare, DeleteTracker.DeleteResult
deleteBuffer, deleteLength, deleteOffset, deleteTimestamp, deleteType, familyStamp, familyVersionStamps, hasFamilyStamp
Constructor and Description |
---|
VisibilityScanDeleteTracker() |
Modifier and Type | Method and Description |
---|---|
void |
add(Cell delCell)
Add the specified KeyValue to the list of deletes to check against for
this row operation.
|
DeleteTracker.DeleteResult |
isDeleted(Cell cell)
Check if the specified KeyValue buffer has been deleted by a previously
seen delete.
|
void |
reset()
Called between rows.
|
isEmpty, update
public void add(Cell delCell)
ScanDeleteTracker
This is called when a Delete is encountered.
add
in interface DeleteTracker
add
in class ScanDeleteTracker
delCell
- - the delete cellpublic DeleteTracker.DeleteResult isDeleted(Cell cell)
ScanDeleteTracker
isDeleted
in interface DeleteTracker
isDeleted
in class ScanDeleteTracker
cell
- - current cell to check if deleted by a previously seen deletepublic void reset()
DeleteTracker
This clears everything as if a new DeleteTracker was instantiated.
reset
in interface DeleteTracker
reset
in class ScanDeleteTracker
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.