Class VisibilityNewVersionBehaivorTracker
java.lang.Object
org.apache.hadoop.hbase.regionserver.querymatcher.NewVersionBehaviorTracker
org.apache.hadoop.hbase.security.visibility.VisibilityNewVersionBehaivorTracker
- All Implemented Interfaces:
- ColumnTracker,- DeleteTracker,- ShipperListener
Similar to MvccSensitiveTracker but tracks the visibility expression also before deciding if a
 Cell can be considered deleted
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static classprivate classNested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.NewVersionBehaviorTrackerNewVersionBehaviorTracker.DeleteVersionsNodeNested classes/interfaces inherited from interface org.apache.hadoop.hbase.regionserver.querymatcher.DeleteTrackerDeleteTracker.DeleteResult
- 
Field SummaryFieldsFields inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.NewVersionBehaviorTrackerdelColMap, delFamMap, maxVersions
- 
Constructor SummaryConstructorsConstructorDescriptionVisibilityNewVersionBehaivorTracker(NavigableSet<byte[]> columns, CellComparator cellComparator, int minVersion, int maxVersion, int resultMaxVersions, long oldestUnexpiredTS) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(ExtendedCell cell) Add the specified cell to the list of deletes to check against for this row operation.isDeleted(ExtendedCell cell) This method is not idempotent, we will save some info to judge VERSION_MASKED.protected voidprivate booleanMethods inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.NewVersionBehaviorTrackerbeforeShipped, checkColumn, checkVersions, done, getCellComparator, getColumnHint, getNextRowOrNextColumn, isDone, isEmpty, prepare, reset, updateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.regionserver.querymatcher.ColumnTrackerdoneWithColumn
- 
Field Details- 
LOG
 
- 
- 
Constructor Details
- 
Method Details- 
addDescription copied from interface:DeleteTrackerAdd the specified cell to the list of deletes to check against for this row operation.This is called when a Delete is encountered in a StoreFile. - Specified by:
- addin interface- DeleteTracker
- Overrides:
- addin class- NewVersionBehaviorTracker
- Parameters:
- cell- - the delete cell
 
- 
tagMatchedprivate boolean tagMatched(ExtendedCell put, VisibilityNewVersionBehaivorTracker.TagInfo delInfo) throws IOException - Throws:
- IOException
 
- 
isDeletedDescription copied from class:NewVersionBehaviorTrackerThis method is not idempotent, we will save some info to judge VERSION_MASKED.- Specified by:
- isDeletedin interface- DeleteTracker
- Overrides:
- isDeletedin class- NewVersionBehaviorTracker
- Parameters:
- cell- - current cell to check if deleted by a previously seen delete
- Returns:
- We don't distinguish DeleteColumn and DeleteFamily. We only return code for column.
 
- 
resetInternal- Overrides:
- resetInternalin class- NewVersionBehaviorTracker
 
 
-