@InterfaceAudience.Private public abstract class NormalUserScanQueryMatcher extends UserScanQueryMatcher
ScanQueryMatcher.MatchCode| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
seePastDeleteMarkers
whether time range queries can see rows "behind" a delete
|
filter, hasNullColumn, stopRow, trcolumns, currentRow, now, oldestUnexpiredTS, rowComparator, startKey| 限定符 | 构造器和说明 |
|---|---|
protected |
NormalUserScanQueryMatcher(Scan scan,
ScanInfo scanInfo,
ColumnTracker columns,
boolean hasNullColumn,
DeleteTracker deletes,
long oldestUnexpiredTS,
long now) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
beforeShipped()
The action that needs to be performed before
Shipper.shipped() is performed |
static NormalUserScanQueryMatcher |
create(Scan scan,
ScanInfo scanInfo,
ColumnTracker columns,
DeleteTracker deletes,
boolean hasNullColumn,
long oldestUnexpiredTS,
long now) |
protected boolean |
isGet() |
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() |
create, getFilter, getNextKeyHint, hasNullColumnInQuery, isUserScan, matchColumn, moreRowsMayExistAfter, moreRowsMayExistsAftercheckDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, getTrackers, preCheck, setToNewRowprotected final boolean seePastDeleteMarkers
protected NormalUserScanQueryMatcher(Scan scan, ScanInfo scanInfo, ColumnTracker columns, boolean hasNullColumn, DeleteTracker deletes, long oldestUnexpiredTS, long now)
public void beforeShipped()
throws IOException
ShipperListenerShipper.shipped() is performedbeforeShipped 在接口中 ShipperListenerbeforeShipped 在类中 UserScanQueryMatcherIOExceptionpublic ScanQueryMatcher.MatchCode match(Cell cell) throws IOException
ScanQueryMatchermatch 在类中 ScanQueryMatchercell - KeyValue to checkIOException - in case there is an internal consistency problem caused by a data
corruption.protected void reset()
reset 在类中 ScanQueryMatcherprotected boolean isGet()
isGet 在类中 UserScanQueryMatcherpublic static NormalUserScanQueryMatcher create(Scan scan, ScanInfo scanInfo, ColumnTracker columns, DeleteTracker deletes, boolean hasNullColumn, long oldestUnexpiredTS, long now) throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.