Class IncludeAllCompactionQueryMatcher
java.lang.Object
org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher
org.apache.hadoop.hbase.regionserver.querymatcher.CompactionScanQueryMatcher
org.apache.hadoop.hbase.regionserver.querymatcher.MinorCompactionScanQueryMatcher
org.apache.hadoop.hbase.regionserver.querymatcher.IncludeAllCompactionQueryMatcher
- All Implemented Interfaces:
ShipperListener
A compaction query matcher that always return INCLUDE and drops nothing.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher
ScanQueryMatcher.MatchCode
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.CompactionScanQueryMatcher
deletes, keepDeletedCells, maxReadPointToTrackVersions
Fields inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher
columns, currentRow, now, oldestUnexpiredTS, rowComparator, startKey
-
Constructor Summary
ConstructorDescriptionIncludeAllCompactionQueryMatcher
(ScanInfo scanInfo, DeleteTracker deletes, ColumnTracker columns, long readPointToUse, long oldestUnexpiredTS, long now) -
Method Summary
Modifier and TypeMethodDescriptionDetermines if the caller should do one of several things: seek/skip to the next row (MatchCode.SEEK_NEXT_ROW) seek/skip to the next column (MatchCode.SEEK_NEXT_COL) include the current KeyValue (MatchCode.INCLUDE) ignore the current KeyValue (MatchCode.SKIP) got to the next row (MatchCode.DONE)Methods inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.CompactionScanQueryMatcher
beforeShipped, create, getFilter, getNextKeyHint, hasNullColumnInQuery, isUserScan, moreRowsMayExistAfter, reset, trackDelete
Methods inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher
checkColumn, checkDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, getTrackers, preCheck, setToNewRow
-
Constructor Details
-
IncludeAllCompactionQueryMatcher
public IncludeAllCompactionQueryMatcher(ScanInfo scanInfo, DeleteTracker deletes, ColumnTracker columns, long readPointToUse, long oldestUnexpiredTS, long now)
-
-
Method Details
-
match
Description copied from class:ScanQueryMatcher
Determines if the caller should do one of several things:- seek/skip to the next row (MatchCode.SEEK_NEXT_ROW)
- seek/skip to the next column (MatchCode.SEEK_NEXT_COL)
- include the current KeyValue (MatchCode.INCLUDE)
- ignore the current KeyValue (MatchCode.SKIP)
- got to the next row (MatchCode.DONE)
- Overrides:
match
in classMinorCompactionScanQueryMatcher
- Parameters:
cell
- KeyValue to check- Returns:
- The match code instance.
- Throws:
IOException
- in case there is an internal consistency problem caused by a data corruption.
-