@InterfaceAudience.Private public class MajorCompactionScanQueryMatcher extends DropDeletesCompactionScanQueryMatcher
ScanQueryMatcher.MatchCode
earliestPutTs, timeToPurgeDeletes
deletes, keepDeletedCells, maxReadPointToTrackVersions
columns, currentRow, now, oldestUnexpiredTS, rowComparator, startKey
Constructor and Description |
---|
MajorCompactionScanQueryMatcher(ScanInfo scanInfo,
DeleteTracker deletes,
long readPointToUse,
long earliestPutTs,
long oldestUnexpiredTS,
long now) |
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)
|
tryDropDelete
create, getFilter, getNextKeyHint, hasNullColumnInQuery, isUserScan, moreRowsMayExistAfter, reset, trackDelete
checkDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, instantiateDeleteTracker, preCheck, setToNewRow
public MajorCompactionScanQueryMatcher(ScanInfo scanInfo, DeleteTracker deletes, long readPointToUse, long earliestPutTs, long oldestUnexpiredTS, long now)
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.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.