@InterfaceAudience.Private public abstract class CompactionScanQueryMatcher extends ScanQueryMatcher
ScanQueryMatcher.MatchCode| 限定符和类型 | 字段和说明 |
|---|---|
protected DeleteTracker |
deletes
Keeps track of deletes
|
protected KeepDeletedCells |
keepDeletedCells
whether to return deleted rows
|
protected long |
maxReadPointToTrackVersions
readPoint over which the KVs are unconditionally included
|
columns, currentRow, now, oldestUnexpiredTS, rowComparator, startKey| 限定符 | 构造器和说明 |
|---|---|
protected |
CompactionScanQueryMatcher(ScanInfo scanInfo,
DeleteTracker deletes,
ColumnTracker columnTracker,
long readPointToUse,
long oldestUnexpiredTS,
long now) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
beforeShipped()
The action that needs to be performed before
Shipper.shipped() is performed |
static CompactionScanQueryMatcher |
create(ScanInfo scanInfo,
ScanType scanType,
long readPointToUse,
long earliestPutTs,
long oldestUnexpiredTS,
long now,
byte[] dropDeletesFromRow,
byte[] dropDeletesToRow,
RegionCoprocessorHost regionCoprocessorHost) |
Filter |
getFilter() |
Cell |
getNextKeyHint(Cell cell)
Delegate to
Filter.getNextCellHint(Cell). |
boolean |
hasNullColumnInQuery() |
boolean |
isUserScan() |
boolean |
moreRowsMayExistAfter(Cell cell) |
protected void |
reset() |
protected void |
trackDelete(Cell cell) |
checkDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, getTrackers, match, preCheck, setToNewRowprotected final long maxReadPointToTrackVersions
protected final DeleteTracker deletes
protected final KeepDeletedCells keepDeletedCells
protected CompactionScanQueryMatcher(ScanInfo scanInfo, DeleteTracker deletes, ColumnTracker columnTracker, long readPointToUse, long oldestUnexpiredTS, long now)
public void beforeShipped()
throws IOException
ShipperListenerShipper.shipped() is performedbeforeShipped 在接口中 ShipperListenerbeforeShipped 在类中 ScanQueryMatcherIOExceptionpublic boolean hasNullColumnInQuery()
hasNullColumnInQuery 在类中 ScanQueryMatcherpublic boolean isUserScan()
isUserScan 在类中 ScanQueryMatcherpublic boolean moreRowsMayExistAfter(Cell cell)
moreRowsMayExistAfter 在类中 ScanQueryMatcherstopRow or we are scanning on row only because this Scan is for a Get,
etc.public Filter getFilter()
getFilter 在类中 ScanQueryMatcherpublic Cell getNextKeyHint(Cell cell) throws IOException
ScanQueryMatcherFilter.getNextCellHint(Cell). If no filter, return null.getNextKeyHint 在类中 ScanQueryMatcherIOExceptionprotected void reset()
reset 在类中 ScanQueryMatcherprotected final void trackDelete(Cell cell)
public static CompactionScanQueryMatcher create(ScanInfo scanInfo, ScanType scanType, long readPointToUse, long earliestPutTs, long oldestUnexpiredTS, long now, byte[] dropDeletesFromRow, byte[] dropDeletesToRow, RegionCoprocessorHost regionCoprocessorHost) throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.