@InterfaceAudience.Private public class VisibilityScanDeleteTracker extends ScanDeleteTracker
DeleteTracker.DeleteResult| Modifier and Type | Field and Description | 
|---|---|
| private static List<Tag> | EMPTY_TAGThis tag is used for the DELETE cell which has no visibility label. | 
| private static org.slf4j.Logger | LOG | 
| private List<Pair<List<Tag>,Byte>> | visibilityTagsDeleteColumns | 
| private List<Triple<List<Tag>,Byte,Long>> | visibilityTagsDeleteFamily | 
| private List<Triple<List<Tag>,Byte,Long>> | visibilityTagsDeleteFamilyVersion | 
| private List<Pair<List<Tag>,Byte>> | visiblityTagsDeleteColumnVersion | 
comparator, deleteBuffer, deleteCell, deleteLength, deleteOffset, deleteTimestamp, deleteType, familyStamp, familyVersionStamps, hasFamilyStamp| Constructor and Description | 
|---|
| VisibilityScanDeleteTracker(CellComparator comparator) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(Cell delCell)Add the specified Cell to the list of deletes to check against for this row operation. | 
| private boolean | extractDeleteCellVisTags(Cell delCell,
                        KeyValue.Type type) | 
| DeleteTracker.DeleteResult | isDeleted(Cell cell)Check if the specified Cell buffer has been deleted by a previously seen delete. | 
| void | reset()Called between rows. | 
beforeShipped, getCellComparator, isEmpty, updateprivate static final org.slf4j.Logger LOG
private static final List<Tag> EMPTY_TAG
private List<Triple<List<Tag>,Byte,Long>> visibilityTagsDeleteFamilyVersion
public VisibilityScanDeleteTracker(CellComparator comparator)
public void add(Cell delCell)
ScanDeleteTrackerThis is called when a Delete is encountered.
add in interface DeleteTrackeradd in class ScanDeleteTrackerdelCell - - the delete cellprivate boolean extractDeleteCellVisTags(Cell delCell, KeyValue.Type type)
public DeleteTracker.DeleteResult isDeleted(Cell cell)
ScanDeleteTrackerisDeleted in interface DeleteTrackerisDeleted in class ScanDeleteTrackercell - - current cell to check if deleted by a previously seen deletepublic void reset()
DeleteTrackerThis clears everything as if a new DeleteTracker was instantiated.
reset in interface DeleteTrackerreset in class ScanDeleteTrackerCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.