@InterfaceAudience.Private public class VisibilityNewVersionBehaivorTracker extends NewVersionBehaviorTracker
| Modifier and Type | Class and Description |
|---|---|
private static class |
VisibilityNewVersionBehaivorTracker.TagInfo |
private class |
VisibilityNewVersionBehaivorTracker.VisibilityDeleteVersionsNode |
NewVersionBehaviorTracker.DeleteVersionsNodeDeleteTracker.DeleteResult| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
delColMap, 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() |
private boolean |
tagMatched(Cell put,
VisibilityNewVersionBehaivorTracker.TagInfo delInfo) |
beforeShipped, checkColumn, checkVersions, done, getCellComparator, getColumnHint, getNextRowOrNextColumn, isDone, isEmpty, prepare, reset, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoneWithColumnprivate static final org.slf4j.Logger LOG
public 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 cellprivate boolean tagMatched(Cell put, VisibilityNewVersionBehaivorTracker.TagInfo delInfo) throws IOException
IOExceptionpublic 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–2020 The Apache Software Foundation. All rights reserved.