@InterfaceAudience.Private public class VisibilityNewVersionBehaivorTracker extends NewVersionBehaviorTracker
NewVersionBehaviorTracker.DeleteVersionsNodeDeleteTracker.DeleteResultdelColMap, delFamMap, maxVersions| Constructor and Description |
|---|
VisibilityNewVersionBehaivorTracker(NavigableSet<byte[]> columns,
CellComparator cellComparator,
int minVersion,
int maxVersion,
int resultMaxVersions,
long oldestUnexpiredTS) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Cell cell)
Add the specified cell to the list of deletes to check against for this row operation.
|
DeleteTracker.DeleteResult |
isDeleted(Cell cell)
This method is not idempotent, we will save some info to judge VERSION_MASKED.
|
protected void |
resetInternal() |
beforeShipped, checkColumn, checkVersions, done, getCellComparator, getColumnHint, getNextRowOrNextColumn, isDone, isEmpty, prepare, reset, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoneWithColumnpublic VisibilityNewVersionBehaivorTracker(NavigableSet<byte[]> columns, CellComparator cellComparator, int minVersion, int maxVersion, int resultMaxVersions, long oldestUnexpiredTS)
public void add(Cell cell)
DeleteTrackerThis is called when a Delete is encountered in a StoreFile.
add in interface DeleteTrackeradd in class NewVersionBehaviorTrackercell - - the delete cellpublic DeleteTracker.DeleteResult isDeleted(Cell cell)
NewVersionBehaviorTrackerisDeleted in interface DeleteTrackerisDeleted in class NewVersionBehaviorTrackercell - - current cell to check if deleted by a previously seen deleteprotected void resetInternal()
resetInternal in class NewVersionBehaviorTrackerCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.