Class StripeCompactionScanQueryMatcher
java.lang.Object
org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher
org.apache.hadoop.hbase.regionserver.querymatcher.CompactionScanQueryMatcher
org.apache.hadoop.hbase.regionserver.querymatcher.DropDeletesCompactionScanQueryMatcher
org.apache.hadoop.hbase.regionserver.querymatcher.StripeCompactionScanQueryMatcher
- All Implemented Interfaces:
ShipperListener
@Private
public class StripeCompactionScanQueryMatcher
extends DropDeletesCompactionScanQueryMatcher
Query matcher for stripe compaction if range drop deletes is used.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static enumNested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher
ScanQueryMatcher.MatchCode -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private final byte[]Fields inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.DropDeletesCompactionScanQueryMatcher
earliestPutTs, timeToPurgeDeletesFields inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.CompactionScanQueryMatcher
deletes, keepDeletedCells, maxReadPointToTrackVersionsFields inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher
columns, currentRow, now, oldestUnexpiredTS, rowComparator, startKey -
Constructor Summary
ConstructorsConstructorDescriptionStripeCompactionScanQueryMatcher(ScanInfo scanInfo, DeleteTracker deletes, ColumnTracker columns, long readPointToUse, long earliestPutTs, long oldestUnexpiredTS, long now, byte[] dropDeletesFromRow, byte[] dropDeletesToRow) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanentered()private booleanleft()match(ExtendedCell cell) 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)protected voidreset()Methods inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.DropDeletesCompactionScanQueryMatcher
tryDropDeleteMethods inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.CompactionScanQueryMatcher
beforeShipped, create, getFilter, getNextKeyHint, hasNullColumnInQuery, isUserScan, moreRowsMayExistAfter, trackDeleteMethods inherited from class org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher
checkColumn, checkDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, getTrackers, preCheck, setToNewRow
-
Field Details
-
dropDeletesFromRow
-
dropDeletesToRow
-
dropDeletesInOutput
-
-
Constructor Details
-
StripeCompactionScanQueryMatcher
public StripeCompactionScanQueryMatcher(ScanInfo scanInfo, DeleteTracker deletes, ColumnTracker columns, long readPointToUse, long earliestPutTs, long oldestUnexpiredTS, long now, byte[] dropDeletesFromRow, byte[] dropDeletesToRow)
-
-
Method Details
-
match
Description copied from class:ScanQueryMatcherDetermines 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)
- Specified by:
matchin classScanQueryMatcher- 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.
-
entered
-
left
-
reset
- Overrides:
resetin classCompactionScanQueryMatcher
-