@InterfaceAudience.Private public class StripeCompactionScanQueryMatcher extends DropDeletesCompactionScanQueryMatcher
Modifier and Type | Class and Description |
---|---|
private static class |
StripeCompactionScanQueryMatcher.DropDeletesInOutput |
ScanQueryMatcher.MatchCode
Modifier and Type | Field and Description |
---|---|
private byte[] |
dropDeletesFromRow |
private StripeCompactionScanQueryMatcher.DropDeletesInOutput |
dropDeletesInOutput |
private byte[] |
dropDeletesToRow |
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 |
---|---|
private boolean |
entered() |
private boolean |
left() |
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
checkColumn, checkDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, getTrackers, preCheck, setToNewRow
private final byte[] dropDeletesFromRow
private final byte[] dropDeletesToRow
private StripeCompactionScanQueryMatcher.DropDeletesInOutput dropDeletesInOutput
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.private boolean entered()
private boolean left()
protected void reset()
reset
in class CompactionScanQueryMatcher
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.