@InterfaceAudience.Private public class StripeCompactionScanQueryMatcher extends DropDeletesCompactionScanQueryMatcher
ScanQueryMatcher.MatchCode
earliestPutTs, timeToPurgeDeletes
deletes, keepDeletedCells, maxReadPointToTrackVersions
columns, currentRow, now, oldestUnexpiredTS, rowComparator, startKey
Constructor and Description |
---|
StripeCompactionScanQueryMatcher(ScanInfo scanInfo,
DeleteTracker deletes,
ColumnTracker columns,
long readPointToUse,
long earliestPutTs,
long oldestUnexpiredTS,
long now,
byte[] dropDeletesFromRow,
byte[] dropDeletesToRow) |
Modifier and Type | Method and Description |
---|---|
ScanQueryMatcher.MatchCode |
match(Cell 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 void |
reset() |
tryDropDelete
beforeShipped, create, getFilter, getNextKeyHint, hasNullColumnInQuery, isUserScan, moreRowsMayExistAfter, trackDelete
checkDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, getTrackers, preCheck, setToNewRow
public StripeCompactionScanQueryMatcher(ScanInfo scanInfo, DeleteTracker deletes, ColumnTracker columns, long readPointToUse, long earliestPutTs, long oldestUnexpiredTS, long now, byte[] dropDeletesFromRow, byte[] dropDeletesToRow)
public ScanQueryMatcher.MatchCode match(Cell cell) throws IOException
ScanQueryMatcher
match
in class ScanQueryMatcher
cell
- KeyValue to checkIOException
- in case there is an internal consistency problem caused by a data
corruption.protected void reset()
reset
in class CompactionScanQueryMatcher
Copyright © 2007–2019 Cloudera. All rights reserved.