@InterfaceAudience.Private public class VisibilityNewVersionBehaivorTracker extends NewVersionBehaviorTracker
Modifier and Type | Class and Description |
---|---|
private static class |
VisibilityNewVersionBehaivorTracker.TagInfo |
private class |
VisibilityNewVersionBehaivorTracker.VisibilityDeleteVersionsNode |
NewVersionBehaviorTracker.DeleteVersionsNode
DeleteTracker.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, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doneWithColumn
private 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)
DeleteTracker
This is called when a Delete is encountered in a StoreFile.
add
in interface DeleteTracker
add
in class NewVersionBehaviorTracker
cell
- - the delete cellprivate boolean tagMatched(Cell put, VisibilityNewVersionBehaivorTracker.TagInfo delInfo) throws IOException
IOException
public DeleteTracker.DeleteResult isDeleted(Cell cell)
NewVersionBehaviorTracker
isDeleted
in interface DeleteTracker
isDeleted
in class NewVersionBehaviorTracker
cell
- - current cell to check if deleted by a previously seen deleteprotected void resetInternal()
resetInternal
in class NewVersionBehaviorTracker
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.